Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit fef1243

Browse files
committed
Oops, one more part of the cygwin patch (SF patch #102409 by jlt63:
Cygwin Python DLL and Shared Extension Patch). Add module.dll as a valid extension. jlt63 writes: Note that his change essentially backs out the fix for bug #115973. Should ".pyd" be retained instead for posterity?
1 parent b961920 commit fef1243

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Python/dynload_shlib.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@
2929

3030
const struct filedescr _PyImport_DynLoadFiletab[] = {
3131
#ifdef __CYGWIN__
32-
{".pyd", "rb", C_EXTENSION},
3332
{".dll", "rb", C_EXTENSION},
33+
{"module.dll", "rb", C_EXTENSION},
3434
#else
3535
{".so", "rb", C_EXTENSION},
3636
{"module.so", "rb", C_EXTENSION},

0 commit comments

Comments
 (0)