◐ Shell
clean mode source ↗

bpo-36722: Debug build loads libraries built in release mode by vstinner · Pull Request #12952 · python/cpython

Expand Up @@ -632,6 +632,7 @@ THREADHEADERS LIBPL PY_ENABLE_SHARED EXT_SUFFIX ALT_SOABI SOABI LIBC LIBM Expand Down Expand Up @@ -15127,6 +15128,17 @@ SOABI='cpython-'`echo $VERSION | tr -d .`${ABIFLAGS}${PLATFORM_TRIPLET:+-$PLATFO { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SOABI" >&5 $as_echo "$SOABI" >&6; }
if test "$Py_DEBUG" = 'true'; then # Similar to SOABI but remove "d" flag from ABIFLAGS
ALT_SOABI='cpython-'`echo $VERSION | tr -d .``echo $ABIFLAGS | tr -d d`${PLATFORM_TRIPLET:+-$PLATFORM_TRIPLET}
cat >>confdefs.h <<_ACEOF #define ALT_SOABI "${ALT_SOABI}" _ACEOF
fi

case $ac_sys_system in Linux*|GNU*|Darwin|VxWorks) Expand Down