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 fc4ca861da
commit e4d94ea528
1 changed files with 2 additions and 1 deletions

View File

@ -151,11 +151,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'
]