From: Carlo Bramini Date: Fri, 15 May 2026 13:54:08 +0000 (+0200) Subject: gh-149833: Change DLL prefix to "cygpython" on Cygwin (#149834) X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3fafbc8e56538f0e5985826ab724b99be48cbf3b;p=thirdparty%2FPython%2Fcpython.git gh-149833: Change DLL prefix to "cygpython" on Cygwin (#149834) Co-authored-by: Victor Stinner --- diff --git a/configure b/configure index 4453237b06b5..e09baf6ac96c 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 87e8abdf3852..d720d322453e 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'