[PATCH] dirmngr: Fix t-http compile error

Daiki Ueno ueno at gnu.org
Sun Nov 1 03:04:43 CET 2015


* dirmngr/Makefile.am (t_http_CFLAGS): Add LIBASSUAN_CFLAGS.
(t_http_LDADD): Add LIBASSUAN_LIBS.

--
Now that assuan_sock_init is called in t-http.c (since commit 1e34007c),
the CFLAGS/LDADD need to be adjusted.

Signed-off-by: Daiki Ueno <ueno at gnu.org>
---
 dirmngr/Makefile.am | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dirmngr/Makefile.am b/dirmngr/Makefile.am
index 009802a..9ed5878 100644
--- a/dirmngr/Makefile.am
+++ b/dirmngr/Makefile.am
@@ -131,9 +131,9 @@ endif
 t_http_SOURCES = t-http.c http.c dns-stuff.c
 t_http_CFLAGS  = -DWITHOUT_NPTH=1 \
 	         $(LIBGCRYPT_CFLAGS) $(NTBTLS_CFLAGS) $(LIBGNUTLS_CFLAGS) \
-                 $(GPG_ERROR_CFLAGS)
+                 $(GPG_ERROR_CFLAGS) $(LIBASSUAN_CFLAGS)
 t_http_LDADD   = $(t_common_ldadd) \
-	         $(NTBTLS_LIBS) $(LIBGNUTLS_LIBS) $(DNSLIBS)
+	         $(NTBTLS_LIBS) $(LIBGNUTLS_LIBS) $(DNSLIBS) $(LIBASSUAN_LIBS)
 
 t_ldap_parse_uri_SOURCES = \
 	t-ldap-parse-uri.c ldap-parse-uri.c ldap-parse-uri.h \
-- 
2.4.3




More information about the Gnupg-devel mailing list