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?