bpo-44959: Add fallback to extension modules with '.sl' suffix on HP-UX (GH-27857)

This commit is contained in:
Florin Spătar 2021-09-08 15:43:00 +03:00 committed by GitHub
parent c11956a8bd
commit 2396fa6537
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View File

@ -0,0 +1 @@
Added fallback to extension modules with '.sl' suffix on HP-UX

View File

@ -13,7 +13,7 @@
#define FUNCNAME_PATTERN "%.20s_%.200s"
#endif
const char *_PyImport_DynLoadFiletab[] = {SHLIB_EXT, NULL};
const char *_PyImport_DynLoadFiletab[] = {SHLIB_EXT, ".sl", NULL};
dl_funcptr _PyImport_FindSharedFuncptr(const char *prefix,
const char *shortname,