Skip to content

Commit f09d174

Browse files
committed
Make SOABI match EXT_SUFFIX
Fixes msys2-contrib#119
1 parent eca05b9 commit f09d174

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

configure.ac

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5264,7 +5264,11 @@ AC_SUBST(SOABI)
52645264
AC_MSG_CHECKING(ABIFLAGS)
52655265
AC_MSG_RESULT($ABIFLAGS)
52665266
AC_MSG_CHECKING(SOABI)
5267-
SOABI='cpython-'`echo $VERSION | tr -d .`${ABIFLAGS}${PLATFORM_TRIPLET:+-$PLATFORM_TRIPLET}
5267+
if test -n "${PYD_PLATFORM_TAG}"; then
5268+
SOABI=".cp${VERSION_NO_DOTS}-${PYD_PLATFORM_TAG}${SHLIB_SUFFIX}"
5269+
else
5270+
SOABI='cpython-'`echo $VERSION | tr -d .`${ABIFLAGS}${PLATFORM_TRIPLET:+-$PLATFORM_TRIPLET}
5271+
fi
52685272
AC_MSG_RESULT($SOABI)
52695273

52705274
# Release and debug (Py_DEBUG) ABI are compatible, but not Py_TRACE_REFS ABI

0 commit comments

Comments
 (0)