Skip to content

Commit c82c78a

Browse files
committed
Fix build on some platforms by adding extra flags
For some reason all the necessary CFALGS are not returned by simply querying the CFLAGS from apxs. We also need to query EXTRA_CPPFLAGS apparently.
1 parent aa4f8f9 commit c82c78a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

configure.ac

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ AC_CHECK_FUNCS(gss_store_cred_into)
6969
AC_SUBST([GSSAPI_CFLAGS])
7070
AC_SUBST([GSSAPI_LIBS])
7171

72-
MAG_CFLAGS="`${APXS} -q CFLAGS` `${APR} --cflags` ${GSSAPI_CFLAGS} ${OPENSSL_CFLAGS} -I`${APXS} -q INCLUDEDIR` `${APR} --includes`"
72+
MAG_CFLAGS="`${APXS} -q CFLAGS` `${APXS} -q EXTRA_CPPFLAGS` `${APR} --cflags` ${GSSAPI_CFLAGS} ${OPENSSL_CFLAGS} -I`${APXS} -q INCLUDEDIR` `${APR} --includes`"
7373
MAG_LIBS="`${APR} --libs` ${GSSAPI_LIBS} ${OPENSSL_LIBS}"
7474
LIBTOOL="`${APXS} -q LIBTOOL`"
7575
MAG_LIBDIR="`${APXS} -q libexecdir`"

0 commit comments

Comments
 (0)