Merge pull request #521 from choppsv1/master

Handle 32bit compiled python on 64bit architecture
This commit is contained in:
Alex Clark ☺ 2014-03-17 10:11:39 -04:00
commit fc9ad0aec3

View File

@ -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