aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--configure.ac1
-rw-r--r--contrib/Makefile.am5
-rw-r--r--src/util/Makefile.am4
3 files changed, 8 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index 92e460b30..0f6602f21 100644
--- a/configure.ac
+++ b/configure.ac
@@ -43,6 +43,7 @@ AC_PROG_LN_S
43AC_PROG_MAKE_SET 43AC_PROG_MAKE_SET
44AM_PROG_CC_C_O 44AM_PROG_CC_C_O
45LT_INIT([disable-static dlopen win32-dll]) 45LT_INIT([disable-static dlopen win32-dll])
46LT_CONFIG_LTDL_DIR([libltdl])
46LTDL_INIT 47LTDL_INIT
47AC_SUBST(LTDLINCL) 48AC_SUBST(LTDLINCL)
48AC_SUBST(LIBLTDL) 49AC_SUBST(LIBLTDL)
diff --git a/contrib/Makefile.am b/contrib/Makefile.am
index 01919d4f2..e32ab0e28 100644
--- a/contrib/Makefile.am
+++ b/contrib/Makefile.am
@@ -82,11 +82,14 @@ TESTS = $(check_PROGRAMS)
82test_gnunet_prefix_SOURCES = \ 82test_gnunet_prefix_SOURCES = \
83 test_gnunet_prefix.c 83 test_gnunet_prefix.c
84 84
85test_gnunet_prefix_CPPFLAGS = \
86 $(LTDLINCL)
87
85test_gnunet_prefix_LDADD = \ 88test_gnunet_prefix_LDADD = \
86 $(GCLIBADD) $(WINLIB) \ 89 $(GCLIBADD) $(WINLIB) \
87 $(LTLIBICONV) \ 90 $(LTLIBICONV) \
88 $(GN_LIBINTL) \ 91 $(GN_LIBINTL) \
89 -lltdl -lunistring $(XLIB) 92 $(LIBLTDL) -lunistring $(XLIB)
90 93
91pkghellodir= $(pkgdatadir)/hellos 94pkghellodir= $(pkgdatadir)/hellos
92 95
diff --git a/src/util/Makefile.am b/src/util/Makefile.am
index 06cd283c8..275c98847 100644
--- a/src/util/Makefile.am
+++ b/src/util/Makefile.am
@@ -110,13 +110,15 @@ libgnunetutil_la_SOURCES = \
110 time.c \ 110 time.c \
111 speedup.c 111 speedup.c
112 112
113libgnunetutil_la_CPPFLAGS = \
114 $(LTDLINCL)
113 115
114libgnunetutil_la_LIBADD = \ 116libgnunetutil_la_LIBADD = \
115 $(GCLIBADD) $(WINLIB) \ 117 $(GCLIBADD) $(WINLIB) \
116 $(LIBGCRYPT_LIBS) \ 118 $(LIBGCRYPT_LIBS) \
117 $(LTLIBICONV) \ 119 $(LTLIBICONV) \
118 $(LTLIBINTL) \ 120 $(LTLIBINTL) \
119 -lltdl $(Z_LIBS) -lunistring $(XLIB) 121 $(LIBLTDL) $(Z_LIBS) -lunistring $(XLIB)
120 122
121libgnunetutil_la_LDFLAGS = \ 123libgnunetutil_la_LDFLAGS = \
122 $(GN_LIB_LDFLAGS) \ 124 $(GN_LIB_LDFLAGS) \