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

(cherry picked from commit 2396fa6537)

Co-authored-by: Florin Spătar <florin.spatar@gmail.com>
This commit is contained in:
Miss Islington (bot) 2021-11-18 08:19:19 -08:00 committed by GitHub
parent 0df5d31ac7
commit 6d66de97f8
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,