mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-11-10 19:56:47 +03:00
Fixed finding dependencies on Cygwin
This commit is contained in:
parent
599979caae
commit
053cb3de52
2
.github/workflows/test-cygwin.yml
vendored
2
.github/workflows/test-cygwin.yml
vendored
|
@ -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: |
|
||||||
|
|
1
setup.py
1
setup.py
|
@ -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(
|
||||||
|
|
Loading…
Reference in New Issue
Block a user