diff options
Diffstat (limited to 'www-apache/mod_python/files/mod_python-3.3.1-LDFLAGS.patch')
-rw-r--r-- | www-apache/mod_python/files/mod_python-3.3.1-LDFLAGS.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/www-apache/mod_python/files/mod_python-3.3.1-LDFLAGS.patch b/www-apache/mod_python/files/mod_python-3.3.1-LDFLAGS.patch new file mode 100644 index 000000000000..0562f93db748 --- /dev/null +++ b/www-apache/mod_python/files/mod_python-3.3.1-LDFLAGS.patch @@ -0,0 +1,14 @@ +--- configure.in ++++ configure.in +@@ -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) |