summaryrefslogtreecommitdiff
path: root/www/mod_jk/files/patch-configure
blob: 9f0a918455e5efaf8daafb5f7a8e2d82032e00ad (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- configure.orig	2015-07-26 22:21:39 UTC
+++ configure
@@ -3638,7 +3638,7 @@ $as_echo "APRINCLUDEDIR is $APRINCLUDEDI
                 APXSCC="`$APXS -q CC`"
                 APXSCFLAGS="`${APXS} -q CFLAGS` `${APXS} -q EXTRA_CFLAGS` -DHAVE_APR ${APRINCLUDEDIR}"
                 APXSCPPFLAGS="`${APXS} -q EXTRA_CPPFLAGS`"
-                APXSLDFLAGS="`$APXS -q LDFLAGS`"
+                APXSLDFLAGS="`$APXS -q LDFLAGS|sed -e 's#/usr/local/lib#-L/usr/local/lib#' -e 's/-pthread//'`"
                 APACHE_CONFIG_VARS="`${APXS} -q exp_installbuilddir`/config_vars.mk"
                 LIBTOOL=`$APXS -q LIBTOOL`
             fi