From 3f74c69e8b1b47584818dfc44a64d69ecaabb0eb Mon Sep 17 00:00:00 2001 From: Simo Sorce Date: Fri, 29 Aug 2014 13:29:42 -0400 Subject: [PATCH] Include only necessary libs when calling apxs Drop cflags and libs options that make apxs unhappy Closes #3 --- configure.ac | 2 +- src/Makefile.am | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index 18dc7a9..e20a83a 100644 --- a/configure.ac +++ b/configure.ac @@ -70,7 +70,7 @@ AC_SUBST([GSSAPI_CFLAGS]) AC_SUBST([GSSAPI_LIBS]) CFLAGS="`${APXS} -q CFLAGS` `${APR} --cflags` ${GSSAPI_CFLAGS} ${OPENSSL_CFLAGS} -I`${APXS} -q INCLUDEDIR` -I`${APR} --includes`" -LIBS="`${APR} --link-libtool --libs` ${GSSAPI_LIBS} ${OPENSSL_LIBS}" +LIBS="`${APR} --libs` ${GSSAPI_LIBS} ${OPENSSL_LIBS}" AC_CONFIG_FILES([Makefile src/Makefile]) diff --git a/src/Makefile.am b/src/Makefile.am index bd001f3..9fac277 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -1,7 +1,7 @@ EXTRA_DIST = mod_auth_gssapi.c sessions.c crypto.c mod_auth_gssapi.h sessions.h crypto.h all-local: - @APXS@ -c ${LIBS} ${CFLAGS} mod_auth_gssapi.c sessions.c crypto.c + @APXS@ -c ${LIBS} mod_auth_gssapi.c sessions.c crypto.c install-exec-local: if test ! -d ${APXS_LIBEXECDIR}; then mkdir -p ${APXS_LIBEXECDIR}; fi -- 2.1.4