mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-25 17:36:18 +03:00
Merge pull request #521 from choppsv1/master
Handle 32bit compiled python on 64bit architecture
This commit is contained in:
commit
fc9ad0aec3
2
setup.py
2
setup.py
|
@ -222,7 +222,7 @@ class pil_build_ext(build_ext):
|
|||
_add_directory(include_dirs, "/usr/X11/include")
|
||||
|
||||
elif sys.platform.startswith("linux"):
|
||||
for platform_ in (plat.processor(), plat.architecture()[0]):
|
||||
for platform_ in (plat.architecture()[0], plat.processor()):
|
||||
|
||||
if not platform_:
|
||||
continue
|
||||
|
|
Loading…
Reference in New Issue
Block a user