mirror of
git://git.gnupg.org/gnupg.git
synced 2025-01-03 12:11:33 +01:00
build: Fix build against libiconv.
* agent/Makefile.am: Add INCICONV and LIBICONV. * common/Makefile.am: Likewise. * tools/Makefile.am: Likewise. Signed-off-by: Justus Winter <justus@g10code.com>
This commit is contained in:
parent
e11686f973
commit
6054e8aaec
@ -64,7 +64,8 @@ pwquery_libs = ../common/libsimple-pwquery.a
|
||||
endif
|
||||
|
||||
|
||||
gpg_agent_CFLAGS = $(AM_CFLAGS) $(LIBASSUAN_CFLAGS) $(NPTH_CFLAGS)
|
||||
gpg_agent_CFLAGS = $(AM_CFLAGS) $(LIBASSUAN_CFLAGS) $(NPTH_CFLAGS) \
|
||||
$(INCICONV)
|
||||
gpg_agent_LDADD = $(commonpth_libs) \
|
||||
$(LIBGCRYPT_LIBS) $(LIBASSUAN_LIBS) $(NPTH_LIBS) \
|
||||
$(GPG_ERROR_LIBS) $(LIBINTL) $(NETLIBS) $(LIBICONV) \
|
||||
@ -76,7 +77,8 @@ gpg_protect_tool_SOURCES = \
|
||||
protect-tool.c \
|
||||
protect.c cvt-openpgp.c
|
||||
|
||||
gpg_protect_tool_CFLAGS = $(AM_CFLAGS) $(LIBASSUAN_CFLAGS)
|
||||
gpg_protect_tool_CFLAGS = $(AM_CFLAGS) $(LIBASSUAN_CFLAGS) \
|
||||
$(INCICONV)
|
||||
gpg_protect_tool_LDADD = $(common_libs) $(LIBGCRYPT_LIBS) $(LIBASSUAN_LIBS) \
|
||||
$(GPG_ERROR_LIBS) $(LIBINTL) $(NETLIBS) $(LIBICONV)
|
||||
|
||||
|
@ -177,7 +177,7 @@ endif
|
||||
t_extra_src = t-support.h
|
||||
|
||||
t_common_cflags = $(KSBA_CFLAGS) $(LIBGCRYPT_CFLAGS) \
|
||||
$(LIBASSUAN_CFLAGS) $(GPG_ERROR_CFLAGS)
|
||||
$(LIBASSUAN_CFLAGS) $(GPG_ERROR_CFLAGS) $(INCICONV)
|
||||
t_common_ldadd = libcommon.a \
|
||||
$(LIBGCRYPT_LIBS) $(LIBASSUAN_LIBS) $(GPG_ERROR_LIBS) \
|
||||
$(LIBINTL) $(LIBICONV)
|
||||
|
@ -131,9 +131,10 @@ gpg_connect_agent_LDADD = ../common/libgpgrl.a $(common_libs) \
|
||||
|
||||
if !DISABLE_REGEX
|
||||
gpg_check_pattern_SOURCES = gpg-check-pattern.c
|
||||
gpg_check_pattern_CFLAGS = $(LIBGCRYPT_CFLAGS) $(GPG_ERROR_CFLAGS)
|
||||
gpg_check_pattern_CFLAGS = $(LIBGCRYPT_CFLAGS) $(GPG_ERROR_CFLAGS) $(INCICONV)
|
||||
gpg_check_pattern_LDADD = $(common_libs) $(LIBGCRYPT_LIBS) $(GPG_ERROR_LIBS) \
|
||||
$(LIBINTL) $(NETLIBS) $(LIBICONV) $(W32SOCKLIBS)
|
||||
$(LIBINTL) $(NETLIBS) $(LIBICONV) $(W32SOCKLIBS) \
|
||||
$(LIBICONV)
|
||||
endif
|
||||
|
||||
gpgtar_SOURCES = \
|
||||
@ -155,8 +156,9 @@ gpg_wks_server_SOURCES = \
|
||||
mime-maker.c mime-maker.h \
|
||||
send-mail.c send-mail.h
|
||||
|
||||
gpg_wks_server_CFLAGS = $(GPG_ERROR_CFLAGS)
|
||||
gpg_wks_server_LDADD = $(libcommon) $(LIBGCRYPT_LIBS) $(GPG_ERROR_LIBS)
|
||||
gpg_wks_server_CFLAGS = $(GPG_ERROR_CFLAGS) $(INCICONV)
|
||||
gpg_wks_server_LDADD = $(libcommon) $(LIBGCRYPT_LIBS) $(GPG_ERROR_LIBS) \
|
||||
$(LIBICONV)
|
||||
|
||||
gpg_wks_client_SOURCES = \
|
||||
gpg-wks-client.c \
|
||||
@ -169,9 +171,10 @@ 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)
|
||||
gpg_wks_client_CFLAGS = $(LIBASSUAN_CFLAGS) $(GPG_ERROR_CFLAGS) $(INCICONV)
|
||||
gpg_wks_client_LDADD = $(libcommon) \
|
||||
$(LIBASSUAN_LIBS) $(LIBGCRYPT_LIBS) $(GPG_ERROR_LIBS)
|
||||
$(LIBASSUAN_LIBS) $(LIBGCRYPT_LIBS) $(GPG_ERROR_LIBS) \
|
||||
$(LIBICONV)
|
||||
|
||||
|
||||
# Make sure that all libs are build before we use them. This is
|
||||
|
Loading…
x
Reference in New Issue
Block a user