Fix setup.py for Solaris/SmartOS

This commit is contained in:
Nicholas Jones 2015-07-27 12:17:49 -04:00
parent 38b18115cb
commit 1589052fb5

View File

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