- updated ldflags patch (fix for building with some flags, taken from gentoo) auto/ti/apache-mod_python-3.3.1-18
authorMarcin Krol <hawk@tld-linux.org>
Tue, 21 May 2013 09:25:52 +0000 (09:25 +0000)
committerMarcin Krol <hawk@tld-linux.org>
Tue, 21 May 2013 09:25:52 +0000 (09:25 +0000)
apache-mod_python-ldflags.patch
apache-mod_python.spec

index b146a22f1a12265428d73f5f99ee23bcabbfefe3..4d4c53ec32ab304b5ebf4200fb756f39f4ea02e7 100644 (file)
@@ -9,3 +9,15 @@
    AC_CHECK_LIB(python${PyVERSION}, Py_NewInterpreter,
               [ PyPYTHONLIBS="-lpython${PyVERSION}" ],
               [ LDFLAGS="$save_LDFLAGS"
+@@ -267,10 +267,7 @@
+ AC_MSG_CHECKING(linker flags used to link Python)
+ AC_SUBST(LDFLAGS)
+ PyLFS=`grep "^LINKFORSHARED=" ${PyLIBPL}/Makefile | cut -f2 -d= | tr '\011\012\015' '   '`
+-PyLDFLAGS=`grep "^LDFLAGS=" ${PyLIBPL}/Makefile | cut -f2 -d= | tr '\011\012\015' '   '`
+-LDFLAGS="${LDFLAGS} ${PyLFS} ${PyLDFLAGS}"
+-LDFLAGS="${LDFLAGS} ${PY_LDFLAGS}"
+-AC_MSG_RESULT($PY_LDFLAGS)
++LDFLAGS="${LDFLAGS} ${PyLFS}"
+ AC_MSG_CHECKING(where Python include files are)
+ AC_SUBST(INCLUDES)
index 2ae416cb1920bbb86d1594680df7a8099601b24a..d73c0d07a67052f55100de0a6e545ecff5c64040 100644 (file)
@@ -19,7 +19,7 @@ Summary(sl.UTF-8):    Vključeni pythonski tolmač za spletni strežnik Apache
 Summary(sv.UTF-8):     En inbyggd Python-interpretator för webbservern Apache
 Name:          apache-mod_%{mod_name}
 Version:       3.3.1
-Release:       17
+Release:       18
 License:       Apache
 Group:         Networking/Daemons/HTTP
 Source0:       http://www.apache.org/dist/httpd/modpython/mod_%{mod_name}-%{version}.tgz
This page took 0.105078 seconds and 4 git commands to generate.