mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-25 01:16:16 +03:00
Merge pull request #8 from blueyed/master
Fix for sys.platform = "linux3".
This commit is contained in:
commit
1fdc1f138b
2
setup.py
2
setup.py
|
@ -116,7 +116,7 @@ class pil_build_ext(build_ext):
|
||||||
_add_directory(library_dirs, "/usr/x11/lib")
|
_add_directory(library_dirs, "/usr/x11/lib")
|
||||||
_add_directory(include_dirs, "/usr/x11/include")
|
_add_directory(include_dirs, "/usr/x11/include")
|
||||||
|
|
||||||
elif sys.platform == "linux2":
|
elif sys.platform.startswith("linux"):
|
||||||
if platform.processor() == "x86_64":
|
if platform.processor() == "x86_64":
|
||||||
_add_directory(library_dirs, "/lib64")
|
_add_directory(library_dirs, "/lib64")
|
||||||
_add_directory(library_dirs, "/usr/lib64")
|
_add_directory(library_dirs, "/usr/lib64")
|
||||||
|
|
Loading…
Reference in New Issue
Block a user