mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-25 01:16:16 +03:00
setup: look in multiarch paths in GNU platforms
Somehow I merged pino's commit into rel_2.3 branch (which I since removed because it was confusing me). Not sure what happened, but this is his code that got lost.
This commit is contained in:
parent
9cd8a88931
commit
cb309c9f59
3
setup.py
3
setup.py
|
@ -267,6 +267,9 @@ class pil_build_ext(build_ext):
|
|||
# work ;-)
|
||||
self.add_multiarch_paths()
|
||||
|
||||
elif sys.platform.startswith("gnu"):
|
||||
self.add_multiarch_paths()
|
||||
|
||||
elif sys.platform.startswith("netbsd"):
|
||||
_add_directory(library_dirs, "/usr/pkg/lib")
|
||||
_add_directory(include_dirs, "/usr/pkg/include")
|
||||
|
|
Loading…
Reference in New Issue
Block a user