add include and library directories for freebsd

This commit is contained in:
Benjamin Le Forestier 2015-12-27 20:43:27 +01:00
parent c33fc39e76
commit e5b6018b46

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