From f69af1e959292867fc032b25422e96b72d8443ff Mon Sep 17 00:00:00 2001 From: Matthias Klose Date: Wed, 8 Sep 2010 16:22:10 +0000 Subject: [PATCH] PEP 3149: Try to load the extension with the SOABI before trying to load the one without the SOABI in the name. --- Python/dynload_shlib.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Python/dynload_shlib.c b/Python/dynload_shlib.c index 04542c9cd2b..3d0fb5eb01a 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) */