mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-01-28 02:04:36 +03:00
Fix "TypeError: 'NoneType' object is not iterable" for PPC and CRUX
This commit is contained in:
parent
d1257a0a38
commit
8edbc79e7f
2
setup.py
2
setup.py
|
@ -368,7 +368,7 @@ class pil_build_ext(build_ext):
|
||||||
|
|
||||||
for platform_ in arch_tp:
|
for platform_ in arch_tp:
|
||||||
dirs = libdirs.get(platform_, None)
|
dirs = libdirs.get(platform_, None)
|
||||||
if not platform_:
|
if not dirs:
|
||||||
continue
|
continue
|
||||||
for path in dirs:
|
for path in dirs:
|
||||||
_add_directory(library_dirs, path)
|
_add_directory(library_dirs, path)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user