diff options
-rw-r--r-- | configure.ac | 1 | ||||
-rw-r--r-- | contrib/Makefile.am | 5 | ||||
-rw-r--r-- | src/util/Makefile.am | 4 |
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 | |||
43 | AC_PROG_MAKE_SET | 43 | AC_PROG_MAKE_SET |
44 | AM_PROG_CC_C_O | 44 | AM_PROG_CC_C_O |
45 | LT_INIT([disable-static dlopen win32-dll]) | 45 | LT_INIT([disable-static dlopen win32-dll]) |
46 | LT_CONFIG_LTDL_DIR([libltdl]) | ||
46 | LTDL_INIT | 47 | LTDL_INIT |
47 | AC_SUBST(LTDLINCL) | 48 | AC_SUBST(LTDLINCL) |
48 | AC_SUBST(LIBLTDL) | 49 | AC_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) | |||
82 | test_gnunet_prefix_SOURCES = \ | 82 | test_gnunet_prefix_SOURCES = \ |
83 | test_gnunet_prefix.c | 83 | test_gnunet_prefix.c |
84 | 84 | ||
85 | test_gnunet_prefix_CPPFLAGS = \ | ||
86 | $(LTDLINCL) | ||
87 | |||
85 | test_gnunet_prefix_LDADD = \ | 88 | test_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 | ||
91 | pkghellodir= $(pkgdatadir)/hellos | 94 | pkghellodir= $(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 | ||
113 | libgnunetutil_la_CPPFLAGS = \ | ||
114 | $(LTDLINCL) | ||
113 | 115 | ||
114 | libgnunetutil_la_LIBADD = \ | 116 | libgnunetutil_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 | ||
121 | libgnunetutil_la_LDFLAGS = \ | 123 | libgnunetutil_la_LDFLAGS = \ |
122 | $(GN_LIB_LDFLAGS) \ | 124 | $(GN_LIB_LDFLAGS) \ |