From 4ab7c2a7828c3d1d23b135a27dbb7e5269735633 Mon Sep 17 00:00:00 2001 From: Alexander Nordlund Date: Thu, 14 Nov 2013 12:10:19 +0000 Subject: [PATCH] Adds directories for NetBSD. --- setup.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/setup.py b/setup.py index 6c677bbd3..2bc5ca3f6 100644 --- a/setup.py +++ b/setup.py @@ -211,6 +211,10 @@ class pil_build_ext(build_ext): # work ;-) 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") # FIXME: check /opt/stuff directories here?