From e7e7683fdff0fa02a3d085287be53ade2d12f17c Mon Sep 17 00:00:00 2001 From: "Graham.Dumpleton" Date: Sat, 25 Oct 2008 09:44:15 +0000 Subject: Link in Python SYSLIBS as well. This will ensure that -l library linked for platforms where httpd no longer linking it. See issue #115. --- configure | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'configure') 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"` -- cgit v1.2.1