mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-01-27 09:44:31 +03:00
Merge pull request #1613 from leforestier/master
add include and library directories for freebsd
This commit is contained in:
commit
6e87d5f9bf
4
setup.py
4
setup.py
|
@ -302,6 +302,10 @@ class pil_build_ext(build_ext):
|
||||||
elif sys.platform.startswith("gnu"):
|
elif sys.platform.startswith("gnu"):
|
||||||
self.add_multiarch_paths()
|
self.add_multiarch_paths()
|
||||||
|
|
||||||
|
elif sys.platform.startswith("freebsd"):
|
||||||
|
_add_directory(library_dirs, "/usr/local/lib")
|
||||||
|
_add_directory(include_dirs, "/usr/local/include")
|
||||||
|
|
||||||
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