Adds directories for NetBSD.

This commit is contained in:
Alexander Nordlund 2013-11-14 12:10:19 +00:00
parent b4cf30f7fa
commit 4ab7c2a782

View File

@ -211,6 +211,10 @@ class pil_build_ext(build_ext):
# work ;-) # work ;-)
self.add_multiarch_paths() self.add_multiarch_paths()
elif sys.platform.startswith("netbsd"):
_add_directory(library_dirs, "/usr/pkg/lib")
_add_directory(include_dirs, "/usr/pkg/include")
_add_directory(library_dirs, "/usr/local/lib") _add_directory(library_dirs, "/usr/local/lib")
# FIXME: check /opt/stuff directories here? # FIXME: check /opt/stuff directories here?