Skip to content

Commit a44ce6c

Browse files
mattippablogsal
andauthored
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 <[email protected]>
1 parent 09a36cd commit a44ce6c

File tree

3 files changed

+6
-13
lines changed

3 files changed

+6
-13
lines changed
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
Now all platforms use a value for the "EXT_SUFFIX" build variable derived
2+
from SOABI (for instance in freeBSD, "EXT_SUFFIX" is now ".cpython-310d.so"
3+
instead of ".so"). Previosuly only Linux, Mac and VxWorks were using a value
4+
for "EXT_SUFFIX" that included "SOABI".

configure

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15429,13 +15429,7 @@ _ACEOF
1542915429

1543015430
fi
1543115431

15432-
15433-
case $ac_sys_system in
15434-
Linux*|GNU*|Darwin|VxWorks)
15435-
EXT_SUFFIX=.${SOABI}${SHLIB_SUFFIX};;
15436-
*)
15437-
EXT_SUFFIX=${SHLIB_SUFFIX};;
15438-
esac
15432+
EXT_SUFFIX=.${SOABI}${SHLIB_SUFFIX}
1543915433

1544015434
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking LDVERSION" >&5
1544115435
$as_echo_n "checking LDVERSION... " >&6; }

configure.ac

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4786,12 +4786,7 @@ if test "$Py_DEBUG" = 'true' -a "$with_trace_refs" != "yes"; then
47864786
fi
47874787

47884788
AC_SUBST(EXT_SUFFIX)
4789-
case $ac_sys_system in
4790-
Linux*|GNU*|Darwin|VxWorks)
4791-
EXT_SUFFIX=.${SOABI}${SHLIB_SUFFIX};;
4792-
*)
4793-
EXT_SUFFIX=${SHLIB_SUFFIX};;
4794-
esac
4789+
EXT_SUFFIX=.${SOABI}${SHLIB_SUFFIX}
47954790

47964791
AC_MSG_CHECKING(LDVERSION)
47974792
LDVERSION='$(VERSION)$(ABIFLAGS)'

0 commit comments

Comments
 (0)