summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJosh Gao <jmgao@google.com>2015-08-27 14:17:06 -0700
committerJosh Gao <jmgao@google.com>2015-08-27 14:21:50 -0700
commitb7811603a7e3aba7db9453d81a677dda40cca435 (patch)
tree6424cd434203457ab327c7618852882d9774450d
parent69e011e9c5d68f6150f27c0c37327e70c413cc03 (diff)
downloadpython-b7811603a7e3aba7db9453d81a677dda40cca435.tar.gz
Fix python-config.sh library order.
This was fixed in python 2.7.10 for python-config, but not for the shell script they also include. See: http://bugs.python.org/issue18096 Change-Id: Ia8605b343d6adda5c7c31979f6d24b952c017460
-rw-r--r--Python-2.7.5/Misc/python-config.sh.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/Python-2.7.5/Misc/python-config.sh.in b/Python-2.7.5/Misc/python-config.sh.in
index 3aafcab..7f8dfaa 100644
--- a/Python-2.7.5/Misc/python-config.sh.in
+++ b/Python-2.7.5/Misc/python-config.sh.in
@@ -50,7 +50,7 @@ ABIFLAGS="@ABIFLAGS@"
if [ "$ABIFLAGS" = "@ABIFLAGS@" ] ; then
ABIFLAGS=
fi
-LIBS="@LIBS@ $SYSLIBS -lpython${VERSION}${ABIFLAGS}"
+LIBS="-lpython${VERSION}${ABIFLAGS} @LIBS@ $SYSLIBS"
BASECFLAGS="@BASECFLAGS@"
LDLIBRARY="@LDLIBRARY@"
LINKFORSHARED="@LINKFORSHARED@"