Applied Darwin patch from #70.

This commit is contained in:
Federico Di Gregorio 2005-11-17 13:37:47 +00:00
parent 1549c2611c
commit 4316ddf30a

View File

@ -170,9 +170,13 @@ class psycopg_build_ext(build_ext):
fink installs lots of goodies in /sw/... - make sure we check there fink installs lots of goodies in /sw/... - make sure we check there
""" """
self.include_dirs.append("/sw/include")
self.include_dirs.append("/sw/include/postgresql") self.include_dirs.append("/sw/include/postgresql")
self.include_dirs.append("/sw/include/postgresql/server")
self.library_dirs.append("/sw/lib") self.library_dirs.append("/sw/lib")
self.include_dirs.append("/opt/local/include")
self.include_dirs.append("/opt/local/include/postgresql") self.include_dirs.append("/opt/local/include/postgresql")
self.include_dirs.append("/opt/local/include/postgresql/server")
self.library_dirs.append("/opt/local/lib") self.library_dirs.append("/opt/local/lib")
self.library_dirs.append("/usr/lib") self.library_dirs.append("/usr/lib")
self.libraries.append('ssl') self.libraries.append('ssl')