]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
bpo-44959: Add fallback to extension modules with '.sl' suffix on HP-UX (GH-27857)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Fri, 22 Oct 2021 11:08:50 +0000 (04:08 -0700)
committerGitHub <noreply@github.com>
Fri, 22 Oct 2021 11:08:50 +0000 (04:08 -0700)
(cherry picked from commit 2396fa6537d79554ac694dbd2b0b30eeb3476c80)

Co-authored-by: Florin Spătar <florin.spatar@gmail.com>
Misc/NEWS.d/next/Core and Builtins/2021-09-08-08-29-41.bpo-44959.OSwwPf.rst [new file with mode: 0644]
Python/dynload_hpux.c

diff --git a/Misc/NEWS.d/next/Core and Builtins/2021-09-08-08-29-41.bpo-44959.OSwwPf.rst b/Misc/NEWS.d/next/Core and Builtins/2021-09-08-08-29-41.bpo-44959.OSwwPf.rst
new file mode 100644 (file)
index 0000000..02e11ae
--- /dev/null
@@ -0,0 +1 @@
+Added fallback to extension modules with '.sl' suffix on HP-UX
\ No newline at end of file
index e36d608c6dca4481ff1d97b55b079b1c9c207693..a53373038ed85988233c7d74db9a83a8ad93b17f 100644 (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,