mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-25 17:36:18 +03:00
add include and library directories for freebsd
This commit is contained in:
parent
c33fc39e76
commit
e5b6018b46
4
setup.py
4
setup.py
|
@ -302,6 +302,10 @@ class pil_build_ext(build_ext):
|
|||
elif sys.platform.startswith("gnu"):
|
||||
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"):
|
||||
_add_directory(library_dirs, "/usr/pkg/lib")
|
||||
_add_directory(include_dirs, "/usr/pkg/include")
|
||||
|
|
Loading…
Reference in New Issue
Block a user