summaryrefslogtreecommitdiffstats
path: root/Python/dynload_hpux.c
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2021-11-18 16:19:19 (GMT)
committerGitHub <noreply@github.com>2021-11-18 16:19:19 (GMT)
commit6d66de97f814fb504296c153957d87e49993f8ec (patch)
tree34d0e72d2602e434c319b6db94ef9f9949514af4 /Python/dynload_hpux.c
parent0df5d31ac7b32d3b948952c834783cd357fa3e22 (diff)
downloadcpython-6d66de97f814fb504296c153957d87e49993f8ec.zip
cpython-6d66de97f814fb504296c153957d87e49993f8ec.tar.gz
cpython-6d66de97f814fb504296c153957d87e49993f8ec.tar.bz2
bpo-44959: Add fallback to extension modules with '.sl' suffix on HP-UX (GH-27857) (GH-29152)
(cherry picked from commit 2396fa6537d79554ac694dbd2b0b30eeb3476c80) Co-authored-by: Florin Spătar <florin.spatar@gmail.com>
Diffstat (limited to 'Python/dynload_hpux.c')
-rw-r--r--Python/dynload_hpux.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/dynload_hpux.c b/Python/dynload_hpux.c
index e36d608..a533730 100644
--- a/Python/dynload_hpux.c
+++ b/Python/dynload_hpux.c
@@ -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,