Merge pull request #7175 from radarhere/cygwin

Fixed finding dependencies on Cygwin
This commit is contained in:
Andrew Murray 2023-06-23 19:07:39 +10:00 committed by GitHub
commit 73fc73038a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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(