diff options
author | Matthias Klose <doko@ubuntu.com> | 2010-09-08 16:22:10 (GMT) |
---|---|---|
committer | Matthias Klose <doko@ubuntu.com> | 2010-09-08 16:22:10 (GMT) |
commit | f69af1e959292867fc032b25422e96b72d8443ff (patch) | |
tree | dceecce43b2e0b51fbe24ec44fed8b0938061d29 /Python/dynload_shlib.c | |
parent | 9a9dd1c14069701f25983af56c55a7ec6afd83c8 (diff) | |
download | cpython-f69af1e959292867fc032b25422e96b72d8443ff.zip cpython-f69af1e959292867fc032b25422e96b72d8443ff.tar.gz cpython-f69af1e959292867fc032b25422e96b72d8443ff.tar.bz2 |
PEP 3149: Try to load the extension with the SOABI before trying
to load the one without the SOABI in the name.
Diffstat (limited to 'Python/dynload_shlib.c')
-rw-r--r-- | Python/dynload_shlib.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/dynload_shlib.c b/Python/dynload_shlib.c index 04542c9..3d0fb5e 100644 --- a/Python/dynload_shlib.c +++ b/Python/dynload_shlib.c @@ -52,8 +52,8 @@ const struct filedescr _PyImport_DynLoadFiletab[] = { {"MODULE.EXE", "rb", C_EXTENSION}, #else /* !__VMS */ {"." SOABI ".so", "rb", C_EXTENSION}, - {".so", "rb", C_EXTENSION}, {"module." SOABI ".so", "rb", C_EXTENSION}, + {".so", "rb", C_EXTENSION}, {"module.so", "rb", C_EXTENSION}, #endif /* __VMS */ #endif /* defined(PYOS_OS2) && defined(PYCC_GCC) */ |