At this line:
cpython/configure.ac
Line 1594 in c6f7368
the name of the library should be cygpython$(LDVERSION).dll and not libpython$(LDVERSION).dll Hopefully, this is very easy to fix.
CPython main branch
Windows
pythongh-149833: Fix wrong prefix on CYGWIN for DLL library name
the name of the library should be cygpython$(LDVERSION).dll and not libpython$(LDVERSION).dll
Alright, the Cygwin documentation says "Cygwin DLLs use the cyg prefix": https://cygwin.com/cygwin-ug-net/dll.html
The name of your library is ${module}, prefixed with cyg for the DLL and lib for the import library. Cygwin DLLs use the cyg prefix to differentiate them from native-Windows MinGW DLLs, see the MinGW website for more details.
gh-149833: Change DLL prefix to "cygpython" on Cygwin (#149834)
Activity
pythongh-149833: Fix wrong prefix on CYGWIN for DLL library name
pythongh-149833: Fix wrong prefix on CYGWIN for DLL library name
vstinner commented on May 15, 2026
Alright, the Cygwin documentation says "Cygwin DLLs use the cyg prefix": https://cygwin.com/cygwin-ug-net/dll.html
gh-149833: Change DLL prefix to "cygpython" on Cygwin (#149834)