Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
opendht
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Model registry
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
savoirfairelinux
opendht
Commits
44a251de
Commit
44a251de
authored
2 years ago
by
Adrien Béraud
Browse files
Options
Downloads
Patches
Plain Diff
build/autotools: don't export internal symbols
parent
1c536a4c
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
c/Makefile.am
+4
-1
4 additions, 1 deletion
c/Makefile.am
configure.ac
+8
-4
8 additions, 4 deletions
configure.ac
src/Makefile.am
+0
-3
0 additions, 3 deletions
src/Makefile.am
with
12 additions
and
8 deletions
c/Makefile.am
+
4
−
1
View file @
44a251de
lib_LTLIBRARIES
=
libopendht-c.la
noinst_HEADERS
=
opendht_c.h
AM_CPPFLAGS
=
-isystem
@top_srcdir@/include @JsonCpp_CFLAGS@ @MsgPack_CFLAGS@
AM_CPPFLAGS
=
-DOPENDHT_C_BUILD
-isystem
@top_srcdir@/include @JsonCpp_CFLAGS@ @MsgPack_CFLAGS@
if
OPENDHT_SHARED
AM_CPPFLAGS
+=
-Dopendht_c_EXPORTS
endif
libopendht_c_la_LIBADD
=
$(
LIBOBJS
)
../src/.libs/libopendht.la
...
...
This diff is collapsed.
Click to expand it.
configure.ac
+
8
−
4
View file @
44a251de
...
...
@@ -21,6 +21,12 @@ AS_IF([test "x$enable_debug" = "xyes"],
[CXXFLAGS="${CXXFLAGS} -g -Wno-return-type -Wall -Wextra -Wnon-virtual-dtor -O0 -pedantic-errors"],
[CXXFLAGS="${CXXFLAGS} -O3 -pedantic-errors -fvisibility=hidden"])
CPPFLAGS+=" -DOPENDHT_BUILD"
AM_CONDITIONAL([OPENDHT_SHARED], [test "x$enable_shared" != xno])
AM_COND_IF(OPENDHT_SHARED, [
CPPFLAGS+=" -Dopendht_EXPORTS"
])
AM_PROG_AR
LT_INIT()
LT_LANG(C++)
...
...
@@ -30,10 +36,8 @@ AX_CXX_COMPILE_STDCXX(17,[noext],[mandatory])
dnl Check for logs
AC_ARG_ENABLE([logs], [AS_HELP_STRING([--disable-logs], [Disable DHT logs])])
AS_IF([test "x$enable_logs" != "xno"], [
AC_DEFINE([OPENDHT_LOG], [true], [Define if DHT logs are enabled])
], [
AC_DEFINE([OPENDHT_LOG], [false], [Define if DHT logs are enabled])
AS_IF([test "x$enable_logs" != "xno"], [], [
AC_DEFINE([OPENDHT_LOG], [false], [Define if DHT logs are disabled])
])
dnl Check for C binding
...
...
This diff is collapsed.
Click to expand it.
src/Makefile.am
+
0
−
3
View file @
44a251de
...
...
@@ -84,6 +84,3 @@ if ENABLE_INDEXATION
libopendht_la_SOURCES
+=
indexation/pht.cpp
nobase_include_HEADERS
+=
../include/opendht/indexation/pht.h
endif
clean-local
:
rm
-rf
libargon2.la
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment