Skip to content

DLL library name has wrong prefix on CYGWIN. #149833

Description

@carlo-bramini

Bug report

Bug description:

At this line:

DLLLIBRARY='libpython$(LDVERSION).dll'

the name of the library should be cygpython$(LDVERSION).dll and not libpython$(LDVERSION).dll
Hopefully, this is very easy to fix.

CPython versions tested on:

CPython main branch

Operating systems tested on:

Windows

Linked PRs

Activity

  1. added a commit that references this issue on May 14, 2026
  2. added a commit that references this issue on May 15, 2026
  3. vstinner commented on May 15, 2026

    @vstinner
    Member

    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.

  4. added a commit that references this issue on May 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions