diff options
author | Graham.Dumpleton <devnull@localhost> | 2008-10-25 09:44:15 +0000 |
---|---|---|
committer | Graham.Dumpleton <devnull@localhost> | 2008-10-25 09:44:15 +0000 |
commit | e7e7683fdff0fa02a3d085287be53ade2d12f17c (patch) | |
tree | 92f84b775396862e9f958d808a6ca53305055b81 /configure | |
parent | 0961a240b67cc88844c222fca86830f2109f2318 (diff) | |
download | mod_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-x | configure | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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"` |