summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorGraham.Dumpleton <devnull@localhost>2008-10-25 09:44:15 +0000
committerGraham.Dumpleton <devnull@localhost>2008-10-25 09:44:15 +0000
commite7e7683fdff0fa02a3d085287be53ade2d12f17c (patch)
tree92f84b775396862e9f958d808a6ca53305055b81 /configure
parent0961a240b67cc88844c222fca86830f2109f2318 (diff)
downloadmod_wsgi-e7e7683fdff0fa02a3d085287be53ade2d12f17c.tar.gz
Link in Python SYSLIBS as well. This will ensure that -l library linked for
platforms where httpd no longer linking it. See issue #115.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure5
1 files changed, 4 insertions, 1 deletions
diff --git a/configure b/configure
index cfaf402..acd2d9c 100755
--- a/configure
+++ b/configure
@@ -1402,6 +1402,9 @@ if test "${PYTHONFRAMEWORKDIR}" = "no-framework"; then
LDLIBS2=`${PYTHON} -c 'from sys import stdout; \
from distutils import sysconfig; \
stdout.write(sysconfig.get_config_var("LIBS"))'`
+ LDLIBS3=`${PYTHON} -c 'from sys import stdout; \
+ from distutils import sysconfig; \
+ stdout.write(sysconfig.get_config_var("SYSLIBS"))'`
else
LDFLAGS1="-F${PYTHONFRAMEWORKPREFIX} -framework ${PYTHONFRAMEWORK}"
@@ -1428,7 +1431,7 @@ if test -x /usr/bin/lipo; then
fi
LDFLAGS="${LDFLAGS} ${LDFLAGS1} ${LDFLAGS2} ${LDFLAGS3}"
-LDLIBS="${LDLIBS} ${LDLIBS1} ${LDLIBS2}"
+LDLIBS="${LDLIBS} ${LDLIBS1} ${LDLIBS2} ${LDLIBS3}"
LDFLAGS=`echo ${LDFLAGS} | sed -e "s/\([^ ][^ ]*\)/-Wl,\1/g"`
LDLIBS=`echo ${LDLIBS} | sed -e "s/\([^ ][^ ]*\)/-Wl,\1/g"`