Fixed finding dependencies on Cygwin

This commit is contained in:
Andrew Murray 2023-05-21 14:38:05 +10:00
parent 599979caae
commit 053cb3de52
2 changed files with 2 additions and 1 deletions

View File

@ -104,7 +104,7 @@ jobs:
- name: Build - name: Build
shell: bash.exe -eo pipefail -o igncr "{0}" shell: bash.exe -eo pipefail -o igncr "{0}"
run: | run: |
SETUPTOOLS_USE_DISTUTILS=stdlib .ci/build.sh .ci/build.sh
- name: Test - name: Test
run: | run: |

View File

@ -515,6 +515,7 @@ class pil_build_ext(build_ext):
elif sys.platform == "cygwin": elif sys.platform == "cygwin":
# pythonX.Y.dll.a is in the /usr/lib/pythonX.Y/config directory # pythonX.Y.dll.a is in the /usr/lib/pythonX.Y/config directory
self.compiler.shared_lib_extension = ".dll.a"
_add_directory( _add_directory(
library_dirs, library_dirs,
os.path.join( os.path.join(