From: Simo Sorce Date: Fri, 29 Aug 2014 17:29:42 +0000 (-0400) Subject: Include only necessary libs when calling apxs X-Git-Tag: v1.0.3~2 X-Git-Url: http://www.project-moonshot.org/gitweb/?p=mod_auth_gssapi.git;a=commitdiff_plain;h=3f74c69e8b1b47584818dfc44a64d69ecaabb0eb Include only necessary libs when calling apxs Drop cflags and libs options that make apxs unhappy Closes #3 --- 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