SOURCES: apache-mod_python-ldflags.patch (NEW) - avoid linking wit...

glen glen at pld-linux.org
Fri Feb 3 11:39:54 CET 2006


Author: glen                         Date: Fri Feb  3 10:39:54 2006 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- avoid linking with static libpython (otherwise need to rebuild every time shared python changes, like current sys.lib patch)

---- Files affected:
SOURCES:
   apache-mod_python-ldflags.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/apache-mod_python-ldflags.patch
diff -u /dev/null SOURCES/apache-mod_python-ldflags.patch:1.1
--- /dev/null	Fri Feb  3 11:39:54 2006
+++ SOURCES/apache-mod_python-ldflags.patch	Fri Feb  3 11:39:49 2006
@@ -0,0 +1,11 @@
+--- mod_python-3.1.3/configure.in.ldflags
++++ mod_python-3.1.3/configure.in
+@@ -225,7 +225,7 @@
+     LDFLAGS="${LDFLAGS} -Wl,-framework,Python"
+   fi
+ else
+-  LDFLAGS="${LDFLAGS} -L${PyLIBPL}"
++  #LDFLAGS="${LDFLAGS} -L${PyLIBPL}"
+   AC_CHECK_LIB(python${PyVERSION}, Py_NewInterpreter,
+              [ PyPYTHONLIBS="-lpython${PyVERSION}" ],
+              [ LDFLAGS="$save_LDFLAGS"
================================================================


More information about the pld-cvs-commit mailing list