summaryrefslogtreecommitdiffstats
path: root/tools/Makefile.am
diff options
context:
space:
mode:
authorIngo Klöcker <dev@ingo-kloecker.de>2021-09-20 12:14:57 +0200
committerIngo Klöcker <dev@ingo-kloecker.de>2021-09-20 12:39:29 +0200
commite2069d563283ab295858d33a250f229aab240f75 (patch)
tree5dfe86f6e2eabfd6209e57b281b0a77bdacb089a /tools/Makefile.am
parentpo: Fixed Italian translation for key expiration (diff)
downloadgnupg2-e2069d563283ab295858d33a250f229aab240f75.tar.xz
gnupg2-e2069d563283ab295858d33a250f229aab240f75.zip
build: Fix several "include file not found" problems
* dirmngr/Makefile.am (t_ldap_parse_uri_CFLAGS): Add KSBA_CFLAGS. * kbx/Makefile.am (libkeybox_a_CFLAGS, libkeybox509_a_CFLAGS): Add NPTH_CFLAGS. * tools/Makefile.am (gpgtar_CFLAGS, gpg_wks_server_CFLAGS, gpg_wks_client_CFLAGS, gpg_pair_tool_CFLAGS): Add LIBGCRYPT_CFLAGS. -- The tools include gcrypt.h via common/util.h. GnuPG-bug-id: 5592
Diffstat (limited to 'tools/Makefile.am')
-rw-r--r--tools/Makefile.am9
1 files changed, 5 insertions, 4 deletions
diff --git a/tools/Makefile.am b/tools/Makefile.am
index 4c29f84ed..9e9e13eda 100644
--- a/tools/Makefile.am
+++ b/tools/Makefile.am
@@ -162,7 +162,7 @@ gpgtar_SOURCES = \
gpgtar-create.c \
gpgtar-extract.c \
gpgtar-list.c
-gpgtar_CFLAGS = $(GPG_ERROR_CFLAGS)
+gpgtar_CFLAGS = $(LIBGCRYPT_CFLAGS) $(GPG_ERROR_CFLAGS)
gpgtar_LDADD = $(libcommon) $(LIBGCRYPT_LIBS) $(GPG_ERROR_LIBS) \
$(LIBINTL) $(NETLIBS) $(LIBICONV) $(W32SOCKLIBS) \
$(gpgtar_rc_objs)
@@ -177,7 +177,7 @@ gpg_wks_server_SOURCES = \
mime-maker.c mime-maker.h \
send-mail.c send-mail.h
-gpg_wks_server_CFLAGS = $(GPG_ERROR_CFLAGS) $(INCICONV)
+gpg_wks_server_CFLAGS = $(LIBGCRYPT_CFLAGS) $(GPG_ERROR_CFLAGS) $(INCICONV)
gpg_wks_server_LDADD = $(libcommon) $(LIBGCRYPT_LIBS) $(GPG_ERROR_LIBS) \
$(LIBINTL) $(LIBICONV)
@@ -192,7 +192,8 @@ gpg_wks_client_SOURCES = \
send-mail.c send-mail.h \
call-dirmngr.c call-dirmngr.h
-gpg_wks_client_CFLAGS = $(LIBASSUAN_CFLAGS) $(GPG_ERROR_CFLAGS) $(INCICONV)
+gpg_wks_client_CFLAGS = $(LIBASSUAN_CFLAGS) $(LIBGCRYPT_CFLAGS) \
+ $(GPG_ERROR_CFLAGS) $(INCICONV)
gpg_wks_client_LDADD = $(libcommon) \
$(LIBASSUAN_LIBS) $(LIBGCRYPT_LIBS) $(GPG_ERROR_LIBS) \
$(LIBINTL) $(LIBICONV) $(NETLIBS) \
@@ -201,7 +202,7 @@ gpg_wks_client_LDADD = $(libcommon) \
gpg_pair_tool_SOURCES = \
gpg-pair-tool.c
-gpg_pair_tool_CFLAGS = $(GPG_ERROR_CFLAGS) $(INCICONV)
+gpg_pair_tool_CFLAGS = $(LIBGCRYPT_CFLAGS) $(GPG_ERROR_CFLAGS) $(INCICONV)
gpg_pair_tool_LDADD = $(libcommon) \
$(LIBGCRYPT_LIBS) $(GPG_ERROR_LIBS) \
$(LIBINTL) $(LIBICONV) $(W32SOCKLIBS)