Fix #2220 : MacOSX homebrew build not finding boost libs

This commit is contained in:
Hengjie 2012-11-29 17:30:47 +13:00 committed by Calum Lind
parent e79c695732
commit 331cef16ef

View File

@ -152,11 +152,12 @@ else:
for include in os.environ.get("INCLUDEDIR", "").split(":"):
_include_dirs.append(include)
_library_dirs += [sysconfig.get_config_var("LIBDIR"), '/opt/local/lib']
_library_dirs += [sysconfig.get_config_var("LIBDIR"), '/opt/local/lib', '/usr/local/lib']
if osx_check():
_include_dirs += [
'/opt/local/include/boost-1_35',
'/opt/local/include/boost-1_36',
'/usr/local/include'
'/sw/include/boost-1_35',
'/sw/include/boost'
]