summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2020-12-20 03:17:42 (GMT)
committerGitHub <noreply@github.com>2020-12-20 03:17:42 (GMT)
commitb01091a3e71e6636d2df4db45920e820cdf7df3b (patch)
tree0fc5a82bc011b09baf07fc9be8eab18e51b2549d /configure.ac
parent24862b02dfd1e2843727f28fa2ba05828fdfa8de (diff)
downloadcpython-b01091a3e71e6636d2df4db45920e820cdf7df3b.zip
cpython-b01091a3e71e6636d2df4db45920e820cdf7df3b.tar.gz
cpython-b01091a3e71e6636d2df4db45920e820cdf7df3b.tar.bz2
bpo-42604: always set EXT_SUFFIX=${SOABI}${SHLIB_SUFFIX} when using configure (GH-23708)
Now all platforms use a value for the "EXT_SUFFIX" build variable derived from SOABI (for instance in FreeBSD, "EXT_SUFFIX" is now ".cpython-310d.so" instead of ".so"). Previously only Linux, Mac and VxWorks were using a value for "EXT_SUFFIX" that included "SOABI". Co-authored-by: Pablo Galindo <pablogsal@gmail.com> (cherry picked from commit a44ce6c9f725d336aea51a946b42769f29fed613) Co-authored-by: Matti Picus <matti.picus@gmail.com>
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac7
1 files changed, 1 insertions, 6 deletions
diff --git a/configure.ac b/configure.ac
index c93ba0e..fc082a3 100644
--- a/configure.ac
+++ b/configure.ac
@@ -4674,12 +4674,7 @@ if test "$Py_DEBUG" = 'true' -a "$with_trace_refs" != "yes"; then
fi
AC_SUBST(EXT_SUFFIX)
-case $ac_sys_system in
- Linux*|GNU*|Darwin|VxWorks)
- EXT_SUFFIX=.${SOABI}${SHLIB_SUFFIX};;
- *)
- EXT_SUFFIX=${SHLIB_SUFFIX};;
-esac
+EXT_SUFFIX=.${SOABI}${SHLIB_SUFFIX}
AC_MSG_CHECKING(LDVERSION)
LDVERSION='$(VERSION)$(ABIFLAGS)'