- release 19 (by relup.sh)
[packages/apache-mod_python.git] / apache-mod_python-ldflags.patch
... / ...
CommitLineData
1--- mod_python-3.1.3/configure.in.ldflags
2+++ mod_python-3.1.3/configure.in
3@@ -225,7 +225,7 @@
4 LDFLAGS="${LDFLAGS} -Wl,-framework,Python"
5 fi
6 else
7- LDFLAGS="${LDFLAGS} -L${PyLIBPL}"
8+ #LDFLAGS="${LDFLAGS} -L${PyLIBPL}"
9 AC_CHECK_LIB(python${PyVERSION}, Py_NewInterpreter,
10 [ PyPYTHONLIBS="-lpython${PyVERSION}" ],
11 [ LDFLAGS="$save_LDFLAGS"
12@@ -267,10 +267,7 @@
13 AC_MSG_CHECKING(linker flags used to link Python)
14 AC_SUBST(LDFLAGS)
15 PyLFS=`grep "^LINKFORSHARED=" ${PyLIBPL}/Makefile | cut -f2 -d= | tr '\011\012\015' ' '`
16-PyLDFLAGS=`grep "^LDFLAGS=" ${PyLIBPL}/Makefile | cut -f2 -d= | tr '\011\012\015' ' '`
17-LDFLAGS="${LDFLAGS} ${PyLFS} ${PyLDFLAGS}"
18-LDFLAGS="${LDFLAGS} ${PY_LDFLAGS}"
19-AC_MSG_RESULT($PY_LDFLAGS)
20+LDFLAGS="${LDFLAGS} ${PyLFS}"
21
22 AC_MSG_CHECKING(where Python include files are)
23 AC_SUBST(INCLUDES)
This page took 0.067365 seconds and 4 git commands to generate.