[PATCH] {dirmngr,tools}/Makefile.am add missing CFLAGS.

Likai Liu liulk at likai.org
Thu Jan 28 07:24:37 CET 2016


---
 dirmngr/Makefile.am | 5 +++--
 tools/Makefile.am   | 4 ++--
 2 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/dirmngr/Makefile.am b/dirmngr/Makefile.am
index 1c74d10..70321b9 100644
--- a/dirmngr/Makefile.am
+++ b/dirmngr/Makefile.am
@@ -140,10 +140,11 @@ t_ldap_parse_uri_SOURCES = \
 	t-ldap-parse-uri.c ldap-parse-uri.c ldap-parse-uri.h \
         http.c dns-stuff.c \
         $(ldap_url) $(t_common_src)
-t_ldap_parse_uri_CFLAGS = -DWITHOUT_NPTH=1
+t_ldap_parse_uri_CFLAGS = -DWITHOUT_NPTH=1 \
+			  $(GPG_ERROR_CFLAGS) $(LIBGCRYPT_CFLAGS)
 t_ldap_parse_uri_LDADD = $(ldaplibs) $(t_common_ldadd) $(DNSLIBS)
 
-t_dns_stuff_CFLAGS = -DWITHOUT_NPTH=1
+t_dns_stuff_CFLAGS = -DWITHOUT_NPTH=1 $(LIBGCRYPT_CFLAGS)
 t_dns_stuff_SOURCES = t-dns-stuff.c dns-stuff.c
 t_dns_stuff_LDADD   = $(t_common_ldadd) $(DNSLIBS)
 
diff --git a/tools/Makefile.am b/tools/Makefile.am
index 39c0f9c..87d0df5 100644
--- a/tools/Makefile.am
+++ b/tools/Makefile.am
@@ -132,8 +132,8 @@ gpgtar_SOURCES = \
 	gpgtar-extract.c \
 	gpgtar-list.c \
 	no-libgcrypt.c
-gpgtar_CFLAGS = $(GPG_ERROR_CFLAGS)
-gpgtar_LDADD = $(libcommon) $(GPG_ERROR_LIBS) \
+gpgtar_CFLAGS = $(GPG_ERROR_CFLAGS) $(NPTH_CFLAGS)
+gpgtar_LDADD = $(libcommon) $(GPG_ERROR_LIBS) $(NPTH_LIBS) \
                $(LIBINTL) $(NETLIBS) $(LIBICONV) $(W32SOCKLIBS)
 
 
-- 
2.5.4 (Apple Git-61)




More information about the Gnupg-devel mailing list