Skip to content

Commit 3f74c69

Browse files
committed
Include only necessary libs when calling apxs
Drop cflags and libs options that make apxs unhappy Closes #3
1 parent 50da549 commit 3f74c69

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

configure.ac

+1-1
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ AC_SUBST([GSSAPI_CFLAGS])
7070
AC_SUBST([GSSAPI_LIBS])
7171

7272
CFLAGS="`${APXS} -q CFLAGS` `${APR} --cflags` ${GSSAPI_CFLAGS} ${OPENSSL_CFLAGS} -I`${APXS} -q INCLUDEDIR` -I`${APR} --includes`"
73-
LIBS="`${APR} --link-libtool --libs` ${GSSAPI_LIBS} ${OPENSSL_LIBS}"
73+
LIBS="`${APR} --libs` ${GSSAPI_LIBS} ${OPENSSL_LIBS}"
7474

7575
AC_CONFIG_FILES([Makefile src/Makefile])
7676

src/Makefile.am

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
EXTRA_DIST = mod_auth_gssapi.c sessions.c crypto.c mod_auth_gssapi.h sessions.h crypto.h
22

33
all-local:
4-
@APXS@ -c ${LIBS} ${CFLAGS} mod_auth_gssapi.c sessions.c crypto.c
4+
@APXS@ -c ${LIBS} mod_auth_gssapi.c sessions.c crypto.c
55

66
install-exec-local:
77
if test ! -d ${APXS_LIBEXECDIR}; then mkdir -p ${APXS_LIBEXECDIR}; fi

0 commit comments

Comments
 (0)