]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-148758: Fix dynamic loading file extensions for Cygwin (#148759)
authorCarlo Bramini <carlo_bramini@users.sourceforge.net>
Wed, 13 May 2026 21:50:24 +0000 (23:50 +0200)
committerGitHub <noreply@github.com>
Wed, 13 May 2026 21:50:24 +0000 (21:50 +0000)
Co-authored-by: Victor Stinner <vstinner@python.org>
Python/dynload_shlib.c

index 2e1455fbe232f4963dce3983fbeb7af56d038540..0ff88ad330fd09c8e18d8944643c559629bd4ca7 100644 (file)
@@ -38,6 +38,7 @@
 
 const char *_PyImport_DynLoadFiletab[] = {
 #ifdef __CYGWIN__
+    "." SOABI ".dll",
     ".dll",
 #else  /* !__CYGWIN__ */
     "." SOABI ".so",