[pacman-dev] [PATCH 3/3] Do not ignore compiler flags detected by configure script.

Rémy Oudompheng remy at archlinux.org
Mon Aug 15 15:12:13 EDT 2011


Signed-off-by: Rémy Oudompheng <remy at archlinux.org>
---
 Here I am not really sure about the Automake syntax, does it also work
 if the GPGME test is not run ?

 lib/libalpm/Makefile.am |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/lib/libalpm/Makefile.am b/lib/libalpm/Makefile.am
index 99f9c1b..2c7fea4 100644
--- a/lib/libalpm/Makefile.am
+++ b/lib/libalpm/Makefile.am
@@ -20,6 +20,8 @@ if ENABLE_GNU89_INLINE_CC
 AM_CFLAGS += -fgnu89-inline
 endif
 
+AM_CPPFLAGS = @LIBCURL_CPPFLAGS@ @GPGME_CFLAGS@
+
 libalpm_la_SOURCES = \
 	add.h add.c \
 	alpm.h alpm.c \
@@ -60,7 +62,7 @@ libalpm_la_SOURCES += \
 	base64.h base64.c
 endif
 
-libalpm_la_LDFLAGS = -no-undefined -version-info $(LIB_VERSION_INFO) @LIBCURL@
+libalpm_la_LDFLAGS = -no-undefined -version-info $(LIB_VERSION_INFO) @LIBCURL@ @GPGME_LIBS@
 libalpm_la_LIBADD = $(LTLIBINTL)
 
 # vim:set ts=2 sw=2 noet:
-- 
1.7.3.5



More information about the pacman-dev mailing list