mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-02-02 20:54:39 +03:00
Merge pull request #5793 from landfillbaby/patch-1
Fix compilation on Termux
This commit is contained in:
commit
2ae150ddb9
6
setup.py
6
setup.py
|
@ -560,7 +560,11 @@ class pil_build_ext(build_ext):
|
|||
# headers are at $PREFIX/include
|
||||
# user libs are at $PREFIX/lib
|
||||
_add_directory(
|
||||
library_dirs, os.path.join(os.environ["ANDROID_ROOT"], "lib")
|
||||
library_dirs,
|
||||
os.path.join(
|
||||
os.environ["ANDROID_ROOT"],
|
||||
"lib" if struct.calcsize("l") == 4 else "lib64",
|
||||
),
|
||||
)
|
||||
|
||||
elif sys.platform.startswith("netbsd"):
|
||||
|
|
Loading…
Reference in New Issue
Block a user