https://github.com/python/cpython/commit/3fafbc8e56538f0e5985826ab724b99be48cbf3b
commit: 3fafbc8e56538f0e5985826ab724b99be48cbf3b
branch: main
author: Carlo Bramini <[email protected]>
committer: vstinner <[email protected]>
date: 2026-05-15T15:54:08+02:00
summary:

gh-149833: Change DLL prefix to "cygpython" on Cygwin (#149834)

Co-authored-by: Victor Stinner <[email protected]>

files:
M configure
M configure.ac

diff --git a/configure b/configure
index 4453237b06b5b7..e09baf6ac96c12 100755
--- a/configure
+++ b/configure
@@ -7783,7 +7783,7 @@ printf "%s\n" "#define Py_ENABLE_SHARED 1" >>confdefs.h
     CYGWIN*)
       LDLIBRARY='libpython$(LDVERSION).dll.a'
       BLDLIBRARY='-L. -lpython$(LDVERSION)'
-      DLLLIBRARY='libpython$(LDVERSION).dll'
+      DLLLIBRARY='cygpython$(LDVERSION).dll'
       ;;
     SunOS*)
       LDLIBRARY='libpython$(LDVERSION).so'
diff --git a/configure.ac b/configure.ac
index 87e8abdf3852d6..d720d322453ee7 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1591,7 +1591,7 @@ if test $enable_shared = "yes"; then
     CYGWIN*)
       LDLIBRARY='libpython$(LDVERSION).dll.a'
       BLDLIBRARY='-L. -lpython$(LDVERSION)'
-      DLLLIBRARY='libpython$(LDVERSION).dll'
+      DLLLIBRARY='cygpython$(LDVERSION).dll'
       ;;
     SunOS*)
       LDLIBRARY='libpython$(LDVERSION).so'

_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3//lists/python-checkins.python.org
Member address: [email protected]

Reply via email to