mirror of
git://git.gnupg.org/gnupg.git
synced 2024-12-23 10:29:58 +01:00
gpg: Give Libgcrypt CFLAGS a higher priority than SQlite.
* g10/Makefile.am (AM_CFLAGS): Reorder. -- The more specific CLFAGS should come first so these are picked up first. We really should improve the build system to enforce this rule. In particular /usr/local/include should come after any more specific location.
This commit is contained in:
parent
5492079def
commit
c11292fe73
@ -30,7 +30,7 @@ AM_CPPFLAGS =
|
|||||||
|
|
||||||
include $(top_srcdir)/am/cmacros.am
|
include $(top_srcdir)/am/cmacros.am
|
||||||
|
|
||||||
AM_CFLAGS = $(SQLITE3_CFLAGS) $(LIBGCRYPT_CFLAGS) \
|
AM_CFLAGS = $(LIBGCRYPT_CFLAGS) $(SQLITE3_CFLAGS) \
|
||||||
$(LIBASSUAN_CFLAGS) $(GPG_ERROR_CFLAGS)
|
$(LIBASSUAN_CFLAGS) $(GPG_ERROR_CFLAGS)
|
||||||
|
|
||||||
needed_libs = ../kbx/libkeybox.a $(libcommon) ../regexp/libregexp.a
|
needed_libs = ../kbx/libkeybox.a $(libcommon) ../regexp/libregexp.a
|
||||||
@ -181,7 +181,7 @@ gpgv_SOURCES = gpgv.c \
|
|||||||
|
|
||||||
LDADD = $(needed_libs) ../common/libgpgrl.a \
|
LDADD = $(needed_libs) ../common/libgpgrl.a \
|
||||||
$(ZLIBS) $(LIBINTL) $(CAPLIBS) $(NETLIBS)
|
$(ZLIBS) $(LIBINTL) $(CAPLIBS) $(NETLIBS)
|
||||||
gpg_LDADD = $(LDADD) $(SQLITE3_LIBS) $(LIBGCRYPT_LIBS) $(LIBREADLINE) \
|
gpg_LDADD = $(LDADD) $(LIBGCRYPT_LIBS) $(SQLITE3_LIBS) $(LIBREADLINE) \
|
||||||
$(LIBASSUAN_LIBS) $(GPG_ERROR_LIBS) \
|
$(LIBASSUAN_LIBS) $(GPG_ERROR_LIBS) \
|
||||||
$(LIBICONV) $(gpg_robjs) $(extra_sys_libs)
|
$(LIBICONV) $(gpg_robjs) $(extra_sys_libs)
|
||||||
gpg_LDFLAGS = $(extra_bin_ldflags)
|
gpg_LDFLAGS = $(extra_bin_ldflags)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user