mirror of
git://git.gnupg.org/gnupg.git
synced 2025-01-21 14:47:03 +01:00
Improve configure option --with-libgpg-error-prefix
-- GnuPG-bug-id: 1561 Note that this is not a complete solution. The libgpg-error include directory has now a higher preference but ld may not pick up the right library if another one is installed. The problem is that the -L option and the -l options are not emitted separately by gpg-error-config.
This commit is contained in:
parent
76b0b076d0
commit
2daa112a74
@ -31,7 +31,7 @@ if HAVE_W32_SYSTEM
|
|||||||
resource_objs += gpg-agent-w32info.o
|
resource_objs += gpg-agent-w32info.o
|
||||||
endif
|
endif
|
||||||
|
|
||||||
AM_CFLAGS = $(LIBGCRYPT_CFLAGS) $(GPG_ERROR_CFLAGS)
|
AM_CFLAGS = $(GPG_ERROR_CFLAGS) $(LIBGCRYPT_CFLAGS)
|
||||||
|
|
||||||
gpg_agent_SOURCES = \
|
gpg_agent_SOURCES = \
|
||||||
gpg-agent.c agent.h \
|
gpg-agent.c agent.h \
|
||||||
|
@ -32,7 +32,7 @@ MAINTAINERCLEANFILES = audit-events.h status-codes.h
|
|||||||
|
|
||||||
AM_CPPFLAGS = -I$(top_srcdir)/gl -I$(top_srcdir)/intl
|
AM_CPPFLAGS = -I$(top_srcdir)/gl -I$(top_srcdir)/intl
|
||||||
|
|
||||||
AM_CFLAGS = $(LIBGCRYPT_CFLAGS) $(KSBA_CFLAGS)
|
AM_CFLAGS = $(GPG_ERROR_CFLAGS) $(LIBGCRYPT_CFLAGS) $(KSBA_CFLAGS)
|
||||||
|
|
||||||
include $(top_srcdir)/am/cmacros.am
|
include $(top_srcdir)/am/cmacros.am
|
||||||
|
|
||||||
|
@ -25,7 +25,7 @@ AM_CPPFLAGS = -I$(top_srcdir)/gl -I$(top_srcdir)/common \
|
|||||||
|
|
||||||
include $(top_srcdir)/am/cmacros.am
|
include $(top_srcdir)/am/cmacros.am
|
||||||
|
|
||||||
AM_CFLAGS = $(LIBGCRYPT_CFLAGS) $(LIBASSUAN_CFLAGS) $(GPG_ERROR_CFLAGS)
|
AM_CFLAGS = $(GPG_ERROR_CFLAGS) $(LIBGCRYPT_CFLAGS) $(LIBASSUAN_CFLAGS)
|
||||||
|
|
||||||
needed_libs = $(libcommon) ../jnlib/libjnlib.a ../gl/libgnu.a
|
needed_libs = $(libcommon) ../jnlib/libjnlib.a ../gl/libgnu.a
|
||||||
|
|
||||||
|
@ -27,7 +27,7 @@ TESTS = $(module_tests)
|
|||||||
AM_CPPFLAGS = -I$(top_srcdir)/intl
|
AM_CPPFLAGS = -I$(top_srcdir)/intl
|
||||||
|
|
||||||
# We need libgcrypt because libjnlib-config includes gcrypt.h
|
# We need libgcrypt because libjnlib-config includes gcrypt.h
|
||||||
AM_CFLAGS = -DJNLIB_IN_JNLIB $(LIBGCRYPT_CFLAGS)
|
AM_CFLAGS = -DJNLIB_IN_JNLIB $(GPG_ERROR_CFLAGS) $(LIBGCRYPT_CFLAGS)
|
||||||
|
|
||||||
noinst_LIBRARIES = libjnlib.a
|
noinst_LIBRARIES = libjnlib.a
|
||||||
|
|
||||||
|
@ -33,8 +33,8 @@ if HAVE_W32_SYSTEM
|
|||||||
resource_objs += scdaemon-w32info.o
|
resource_objs += scdaemon-w32info.o
|
||||||
endif
|
endif
|
||||||
|
|
||||||
AM_CFLAGS = $(LIBGCRYPT_CFLAGS) \
|
AM_CFLAGS = $(GPG_ERROR_CFLAGS) $(LIBGCRYPT_CFLAGS) \
|
||||||
$(KSBA_CFLAGS) $(LIBASSUAN_CFLAGS) $(PTH_CFLAGS)
|
$(KSBA_CFLAGS) $(LIBASSUAN_CFLAGS) $(PTH_CFLAGS)
|
||||||
|
|
||||||
|
|
||||||
card_apps = app-openpgp.c app-nks.c app-dinsig.c app-p15.c app-geldkarte.c
|
card_apps = app-openpgp.c app-nks.c app-dinsig.c app-p15.c app-geldkarte.c
|
||||||
|
@ -22,7 +22,8 @@ bin_PROGRAMS = gpgsm
|
|||||||
|
|
||||||
EXTRA_DIST = ChangeLog-2011 gpgsm-w32info.rc
|
EXTRA_DIST = ChangeLog-2011 gpgsm-w32info.rc
|
||||||
|
|
||||||
AM_CFLAGS = $(LIBGCRYPT_CFLAGS) $(KSBA_CFLAGS) $(LIBASSUAN_CFLAGS)
|
AM_CFLAGS = $(GPG_ERROR_CFLAGS) $(LIBGCRYPT_CFLAGS) \
|
||||||
|
$(KSBA_CFLAGS) $(LIBASSUAN_CFLAGS)
|
||||||
|
|
||||||
AM_CPPFLAGS = -I$(top_srcdir)/gl -I$(top_srcdir)/common -I$(top_srcdir)/intl
|
AM_CPPFLAGS = -I$(top_srcdir)/gl -I$(top_srcdir)/common -I$(top_srcdir)/intl
|
||||||
include $(top_srcdir)/am/cmacros.am
|
include $(top_srcdir)/am/cmacros.am
|
||||||
|
@ -30,7 +30,7 @@ if HAVE_W32_SYSTEM
|
|||||||
resource_objs += gpg-connect-agent-w32info.o
|
resource_objs += gpg-connect-agent-w32info.o
|
||||||
endif
|
endif
|
||||||
|
|
||||||
AM_CFLAGS = $(LIBGCRYPT_CFLAGS) $(GPG_ERROR_CFLAGS) $(LIBASSUAN_CFLAGS)
|
AM_CFLAGS = $(GPG_ERROR_CFLAGS) $(LIBGCRYPT_CFLAGS) $(LIBASSUAN_CFLAGS)
|
||||||
|
|
||||||
sbin_SCRIPTS = addgnupghome applygnupgdefaults
|
sbin_SCRIPTS = addgnupghome applygnupgdefaults
|
||||||
|
|
||||||
@ -97,16 +97,16 @@ gpg_connect_agent_LDADD = ../common/libgpgrl.a $(common_libs) \
|
|||||||
$(resource_objs)
|
$(resource_objs)
|
||||||
|
|
||||||
gpgkey2ssh_SOURCES = gpgkey2ssh.c
|
gpgkey2ssh_SOURCES = gpgkey2ssh.c
|
||||||
gpgkey2ssh_CFLAGS = $(LIBGCRYPT_CFLAGS) $(GPG_ERROR_CFLAGS)
|
gpgkey2ssh_CFLAGS = $(GPG_ERROR_CFLAGS) $(LIBGCRYPT_CFLAGS)
|
||||||
# common sucks in jnlib, via use of BUG() in an inline function, which
|
# common sucks in jnlib, via use of BUG() in an inline function, which
|
||||||
# some compilers do not eliminate.
|
# some compilers do not eliminate.
|
||||||
gpgkey2ssh_LDADD = $(common_libs) \
|
gpgkey2ssh_LDADD = $(common_libs) \
|
||||||
$(LIBGCRYPT_LIBS) $(GPG_ERROR_LIBS) $(LIBINTL) $(LIBICONV)
|
$(GPG_ERROR_LIBS) $(LIBGCRYPT_LIBS) $(LIBINTL) $(LIBICONV)
|
||||||
|
|
||||||
|
|
||||||
if !DISABLE_REGEX
|
if !DISABLE_REGEX
|
||||||
gpg_check_pattern_SOURCES = gpg-check-pattern.c
|
gpg_check_pattern_SOURCES = gpg-check-pattern.c
|
||||||
gpg_check_pattern_CFLAGS = $(LIBGCRYPT_CFLAGS) $(GPG_ERROR_CFLAGS)
|
gpg_check_pattern_CFLAGS = $(GPG_ERROR_CFLAGS) $(LIBGCRYPT_CFLAGS)
|
||||||
gpg_check_pattern_LDADD = $(common_libs) $(LIBGCRYPT_LIBS) $(GPG_ERROR_LIBS) \
|
gpg_check_pattern_LDADD = $(common_libs) $(LIBGCRYPT_LIBS) $(GPG_ERROR_LIBS) \
|
||||||
$(LIBINTL) $(LIBICONV) $(W32SOCKLIBS)
|
$(LIBINTL) $(LIBICONV) $(W32SOCKLIBS)
|
||||||
endif
|
endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user