summaryrefslogtreecommitdiffstats
path: root/Python/dynload_shlib.c
diff options
context:
space:
mode:
Diffstat (limited to 'Python/dynload_shlib.c')
-rw-r--r--Python/dynload_shlib.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/Python/dynload_shlib.c b/Python/dynload_shlib.c
index e5bddaa..c51f97a 100644
--- a/Python/dynload_shlib.c
+++ b/Python/dynload_shlib.c
@@ -38,9 +38,10 @@ const char *_PyImport_DynLoadFiletab[] = {
".dll",
#else /* !__CYGWIN__ */
"." SOABI ".so",
-#ifndef Py_DEBUG
+#ifdef ALT_SOABI
+ "." ALT_SOABI ".so",
+#endif
".abi" PYTHON_ABI_STRING ".so",
-#endif /* ! Py_DEBUG */
".so",
#endif /* __CYGWIN__ */
NULL,