summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimo Sorce <simo@redhat.com>2014-08-29 13:29:42 -0400
committerSimo Sorce <simo@redhat.com>2014-08-29 14:02:07 -0400
commit3f74c69e8b1b47584818dfc44a64d69ecaabb0eb (patch)
treee7a93f638d72bdc2e450402e6428c36e1b8faa47
parent50da5495c526bf94e664aa2f663fed628cfe262e (diff)
downloadmod_auth_gssapi-3f74c69e8b1b47584818dfc44a64d69ecaabb0eb.tar.gz
mod_auth_gssapi-3f74c69e8b1b47584818dfc44a64d69ecaabb0eb.tar.xz
mod_auth_gssapi-3f74c69e8b1b47584818dfc44a64d69ecaabb0eb.zip
Include only necessary libs when calling apxs
Drop cflags and libs options that make apxs unhappy Closes #3
-rw-r--r--configure.ac2
-rw-r--r--src/Makefile.am2
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