From 053cb3de52dcc5008e5bac96942697a1b7e9e00d Mon Sep 17 00:00:00 2001 From: Andrew Murray Date: Sun, 21 May 2023 14:38:05 +1000 Subject: [PATCH] Fixed finding dependencies on Cygwin --- .github/workflows/test-cygwin.yml | 2 +- setup.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test-cygwin.yml b/.github/workflows/test-cygwin.yml index 9a1e46705..e7ab6466e 100644 --- a/.github/workflows/test-cygwin.yml +++ b/.github/workflows/test-cygwin.yml @@ -104,7 +104,7 @@ jobs: - name: Build shell: bash.exe -eo pipefail -o igncr "{0}" run: | - SETUPTOOLS_USE_DISTUTILS=stdlib .ci/build.sh + .ci/build.sh - name: Test run: | diff --git a/setup.py b/setup.py index 0b6b02077..7c1ad6dc5 100755 --- a/setup.py +++ b/setup.py @@ -515,6 +515,7 @@ class pil_build_ext(build_ext): elif sys.platform == "cygwin": # pythonX.Y.dll.a is in the /usr/lib/pythonX.Y/config directory + self.compiler.shared_lib_extension = ".dll.a" _add_directory( library_dirs, os.path.join(