mirror of
https://github.com/python/cpython.git
synced 2025-08-04 17:08:35 +00:00
Issue #22980: Under Linux, C extensions now include bitness in the file name,
to make it easy to test 32-bit and 64-bit builds in the same working tree.
This commit is contained in:
parent
af098a221a
commit
5bd7bf5bab
4 changed files with 28 additions and 2 deletions
10
configure.ac
10
configure.ac
|
@ -4175,7 +4175,15 @@ AC_SUBST(SOABI)
|
|||
AC_MSG_CHECKING(ABIFLAGS)
|
||||
AC_MSG_RESULT($ABIFLAGS)
|
||||
AC_MSG_CHECKING(SOABI)
|
||||
SOABI='cpython-'`echo $VERSION | tr -d .`${ABIFLAGS}
|
||||
|
||||
case $ac_sys_system in
|
||||
Linux*|GNU*)
|
||||
BITNESS_SUFFIX=-$(($ac_cv_sizeof_void_p * 8))b;;
|
||||
*)
|
||||
BITNESS_SUFFIX=;;
|
||||
esac
|
||||
SOABI='cpython-'`echo $VERSION | tr -d .`${ABIFLAGS}${BITNESS_SUFFIX}
|
||||
|
||||
AC_MSG_RESULT($SOABI)
|
||||
|
||||
AC_SUBST(EXT_SUFFIX)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue