add $(GN_LIBINTL) to Makefile.am (fixes 0005902)
[oweals/gnunet.git] / src / dht / Makefile.am
index c52ac93c76af329679a35097c5acc4683a05711e..bf73e8f19c1db1bc3bdb87b95e0fe6768b305e2c 100644 (file)
@@ -1,8 +1,5 @@
 # This Makefile.am is in the public domain
 AM_CPPFLAGS = -I$(top_srcdir)/src/include
-if MINGW
- WINFLAGS = -Wl,--no-undefined -Wl,--export-all-symbols -lole32 -lshell32 -liconv -lstdc++ -lcomdlg32 -lgdi32
-endif
 
 plugindir = $(libdir)/gnunet
 
@@ -28,7 +25,7 @@ libgnunetdht_la_LIBADD = \
   $(XLIB) \
   $(LTLIBINTL)
 libgnunetdht_la_LDFLAGS = \
-  $(GN_LIB_LDFLAGS) $(WINFLAGS) \
+  $(GN_LIB_LDFLAGS)  \
   -version-info 3:0:0
 
 
@@ -79,6 +76,8 @@ gnunet_service_dht_LDADD = \
   $(top_builddir)/src/datacache/libgnunetdatacache.la \
   $(top_builddir)/src/util/libgnunetutil.la \
   -lm
+gnunet_service_dht_LDFLAGS = \
+  $(GN_LIBINTL)
 
 gnunet_dht_get_SOURCES = \
  gnunet-dht-get.c
@@ -86,6 +85,8 @@ gnunet_dht_get_LDADD = \
   libgnunetdht.la \
   $(top_builddir)/src/core/libgnunetcore.la \
   $(top_builddir)/src/util/libgnunetutil.la
+gnunet_dht_get_LDFLAGS = \
+  $(GN_LIBINTL)
 
 gnunet_dht_put_SOURCES = \
  gnunet-dht-put.c
@@ -93,6 +94,8 @@ gnunet_dht_put_LDADD = \
   libgnunetdht.la \
   $(top_builddir)/src/core/libgnunetcore.la \
   $(top_builddir)/src/util/libgnunetutil.la
+gnunet_dht_put_LDFLAGS = \
+  $(GN_LIBINTL)
 
 gnunet_dht_monitor_SOURCES = \
  gnunet-dht-monitor.c
@@ -100,6 +103,8 @@ gnunet_dht_monitor_LDADD = \
   libgnunetdht.la \
   $(top_builddir)/src/core/libgnunetcore.la \
   $(top_builddir)/src/util/libgnunetutil.la
+gnunet_dht_monitor_LDFLAGS = \
+  $(GN_LIBINTL)
 
 gnunet_dht_profiler_SOURCES = \
   gnunet_dht_profiler.c
@@ -108,6 +113,8 @@ gnunet_dht_profiler_LDADD = \
   $(top_builddir)/src/core/libgnunetcore.la \
   $(top_builddir)/src/util/libgnunetutil.la \
  $(top_builddir)/src/testbed/libgnunettestbed.la
+gnunet_dht_profiler_LDFLAGS = \
+  $(GN_LIBINTL)
 
 if HAVE_TESTING
 noinst_LIBRARIES = libgnunetdhttest.a