diff --git a/Misc/NEWS b/Misc/NEWS index c6a4d3f9f59..260ee3ff09a 100644 --- a/Misc/NEWS +++ b/Misc/NEWS @@ -679,6 +679,8 @@ Documentation Tools/Demos ----------- +- Issue #25440: Fix output of python-config --extension-suffix. + - Issue #23330: h2py now supports arbitrary filenames in #include. - Issue #24031: make patchcheck now supports git checkouts, too. diff --git a/Misc/python-config.sh.in b/Misc/python-config.sh.in index 64c81e5f74b..30c69278710 100644 --- a/Misc/python-config.sh.in +++ b/Misc/python-config.sh.in @@ -49,7 +49,7 @@ PY_ENABLE_SHARED="@PY_ENABLE_SHARED@" 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}"