Merge pull request #1613 from leforestier/master

add include and library directories for freebsd
This commit is contained in:
wiredfool 2015-12-27 13:08:20 -08:00
commit 6e87d5f9bf

View File

@ -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")