setup: look in multiarch paths in GNU platforms

Somehow I merged pino's commit into rel_2.3 branch (which I since removed because it was confusing me). Not sure what happened, but this is his code that got lost.
This commit is contained in:
Alex Clark 2014-02-01 06:06:21 -05:00
parent 9cd8a88931
commit cb309c9f59

View File

@ -267,6 +267,9 @@ class pil_build_ext(build_ext):
# work ;-) # work ;-)
self.add_multiarch_paths() self.add_multiarch_paths()
elif sys.platform.startswith("gnu"):
self.add_multiarch_paths()
elif sys.platform.startswith("netbsd"): elif sys.platform.startswith("netbsd"):
_add_directory(library_dirs, "/usr/pkg/lib") _add_directory(library_dirs, "/usr/pkg/lib")
_add_directory(include_dirs, "/usr/pkg/include") _add_directory(include_dirs, "/usr/pkg/include")