mirror of
https://github.com/python/cpython.git
synced 2025-07-07 19:35:27 +00:00
bpo-36722: Debug build loads libraries built in release mode (GH-12952)
In debug build, import now also looks for C extensions compiled in release mode and for C extensions compiled in the stable ABI.
This commit is contained in:
parent
62dfd7d6fe
commit
5422e3cfb7
5 changed files with 29 additions and 2 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue