mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-11-10 19:56:47 +03:00
PPC platform specific library files
This commit is contained in:
parent
bcfc06d6d0
commit
547c668b30
3
setup.py
3
setup.py
|
@ -235,6 +235,9 @@ class pil_build_ext(build_ext):
|
|||
elif platform_ in ["i386", "i686", "32bit"]:
|
||||
_add_directory(library_dirs, "/usr/lib/i386-linux-gnu")
|
||||
break
|
||||
elif platform_ in ["ppc"]:
|
||||
_add_directory(library_dirs, "/usr/lib/powerpc-linux-gnu")
|
||||
break
|
||||
else:
|
||||
raise ValueError(
|
||||
"Unable to identify Linux platform: `%s`" % platform_)
|
||||
|
|
Loading…
Reference in New Issue
Block a user