dirmngr,w32: Make it build for Windows.
authorWerner Koch <wk@gnupg.org>
Fri, 10 Apr 2015 13:08:50 +0000 (15:08 +0200)
committerWerner Koch <wk@gnupg.org>
Fri, 10 Apr 2015 13:08:50 +0000 (15:08 +0200)
* dirmngr/Makefile.am (t_common_ldadd): Add missing libs.

dirmngr/Makefile.am

index d80dd6d..a8b1c52 100644 (file)
@@ -110,12 +110,14 @@ no-libgcrypt.c : $(top_srcdir)/tools/no-libgcrypt.c
 t_common_src = t-support.h
 # We need libcommontls, because we use the http functions.
 t_common_ldadd = $(libcommontls) $(libcommon) no-libgcrypt.o \
-       $(GPG_ERROR_LIBS) $(NTBTLS_LIBS) $(LIBGNUTLS_LIBS) $(DNSLIBS)
+                 $(GPG_ERROR_LIBS) $(NETLIBS) \
+                 $(NTBTLS_LIBS) $(LIBGNUTLS_LIBS) \
+                 $(DNSLIBS) $(LIBINTL) $(LIBICONV)
 
 module_tests = t-ldap-parse-uri
 t_ldap_parse_uri_SOURCES = \
        t-ldap-parse-uri.c ldap-parse-uri.c ldap-parse-uri.h \
-       $(t_common_src)
+        $(ldap_url) $(t_common_src)
 t_ldap_parse_uri_LDADD = $(ldaplibs) $(t_common_ldadd)
 
 $(PROGRAMS) : $(libcommon) $(libcommonpth) $(libcommontls) $(libcommontlsnpth)