summaryrefslogtreecommitdiffstats
path: root/Misc/python-config.sh.in
diff options
context:
space:
mode:
authordoko@ubuntu.com <doko@ubuntu.com>2014-10-02 00:00:14 (GMT)
committerdoko@ubuntu.com <doko@ubuntu.com>2014-10-02 00:00:14 (GMT)
commitd486c43d8d5ddf6d8c31e37fa5525aac7b960059 (patch)
treea6858aa6bfe6433de255253bcf2c4c563ec33613 /Misc/python-config.sh.in
parent1de0ba2cf57a2c0f18a1ef4da0641bf9b073ba1e (diff)
downloadcpython-d486c43d8d5ddf6d8c31e37fa5525aac7b960059.zip
cpython-d486c43d8d5ddf6d8c31e37fa5525aac7b960059.tar.gz
cpython-d486c43d8d5ddf6d8c31e37fa5525aac7b960059.tar.bz2
- Issue #18096: Fix library order returned by python-config.
Diffstat (limited to 'Misc/python-config.sh.in')
-rw-r--r--Misc/python-config.sh.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/Misc/python-config.sh.in b/Misc/python-config.sh.in
index f5a3dbe..64c81e5 100644
--- a/Misc/python-config.sh.in
+++ b/Misc/python-config.sh.in
@@ -40,7 +40,7 @@ LIBM="@LIBM@"
LIBC="@LIBC@"
SYSLIBS="$LIBM $LIBC"
ABIFLAGS="@ABIFLAGS@"
-LIBS="@LIBS@ $SYSLIBS -lpython${VERSION}${ABIFLAGS}"
+LIBS="-lpython${VERSION}${ABIFLAGS} @LIBS@ $SYSLIBS"
BASECFLAGS="@BASECFLAGS@"
LDLIBRARY="@LDLIBRARY@"
LINKFORSHARED="@LINKFORSHARED@"