summaryrefslogtreecommitdiff
path: root/www/mod_jk/files/patch-tomcat-connectors-src:native:configure
blob: e6d0772a61265d6d7d66b48c39b307163fcfdd7a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- configure.ori  2009-01-08 09:42:19.000000000 -0800
+++ configure      2009-01-08 10:06:18.000000000 -0800
@@ -3066,7 +3066,7 @@
                 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