[Python-checkins] cpython (merge 3.5 -> default): - Issue #25440: Fix output of python-config --extension-suffix.

matthias.klose python-checkins at python.org
Mon Oct 19 08:15:43 EDT 2015


https://hg.python.org/cpython/rev/dd1abadb1325
changeset:   98790:dd1abadb1325
parent:      98787:f020a27b5391
parent:      98789:40aba0cda7b6
user:        doko at ubuntu.com
date:        Mon Oct 19 14:15:27 2015 +0200
summary:
  - Issue #25440: Fix output of python-config --extension-suffix.

files:
  Misc/NEWS                |  2 ++
  Misc/python-config.sh.in |  2 +-
  2 files changed, 3 insertions(+), 1 deletions(-)


diff --git a/Misc/NEWS b/Misc/NEWS
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -298,6 +298,8 @@
 Tools/Demos
 -----------
 
+- Issue #25440: Fix output of python-config --extension-suffix.
+
 - Issue #25154: The pyvenv script has been deprecated in favour of
   `python3 -m venv`.
 
diff --git a/Misc/python-config.sh.in b/Misc/python-config.sh.in
--- a/Misc/python-config.sh.in
+++ b/Misc/python-config.sh.in
@@ -49,7 +49,7 @@
 LDVERSION="@LDVERSION@"
 LIBDEST=${prefix}/lib/python${VERSION}
 LIBPL=$(echo "@LIBPL@" | sed "s#$prefix_build#$prefix_real#")
-SO="@SO@"
+SO="@EXT_SUFFIX@"
 PYTHONFRAMEWORK="@PYTHONFRAMEWORK@"
 INCDIR="-I$includedir/python${VERSION}${ABIFLAGS}"
 PLATINCDIR="-I$includedir/python${VERSION}${ABIFLAGS}"

-- 
Repository URL: https://hg.python.org/cpython


More information about the Python-checkins mailing list