mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-08-05 13:00:09 +03:00
setup: look in multiarch paths in GNU platforms
Just like it is done as "kludge" in linux, add the multiarch library paths for GNU platforms (e.g. GNU/kFreeBSD and GNU/Hurd) so additional libraries in multiarch paths can be found (enabling extra image formats).
This commit is contained in:
parent
b1b88cf4d2
commit
6303345bc9
3
setup.py
3
setup.py
|
@ -238,6 +238,9 @@ class pil_build_ext(build_ext):
|
||||||
# work ;-)
|
# work ;-)
|
||||||
self.add_multiarch_paths()
|
self.add_multiarch_paths()
|
||||||
|
|
||||||
|
elif sys.platform.startswith("gnu"):
|
||||||
|
self.add_multiarch_paths()
|
||||||
|
|
||||||
elif sys.platform.startswith("netbsd"):
|
elif sys.platform.startswith("netbsd"):
|
||||||
_add_directory(library_dirs, "/usr/pkg/lib")
|
_add_directory(library_dirs, "/usr/pkg/lib")
|
||||||
_add_directory(include_dirs, "/usr/pkg/include")
|
_add_directory(include_dirs, "/usr/pkg/include")
|
||||||
|
|
Loading…
Reference in New Issue
Block a user