From e4d94ea52891852b46a2d77c8d0df68e9001f64a Mon Sep 17 00:00:00 2001 From: Hengjie Date: Thu, 29 Nov 2012 17:30:47 +1300 Subject: [PATCH] Fix #2220 : MacOSX homebrew build not finding boost libs --- setup.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 801882dfd..e1efe2a64 100755 --- a/setup.py +++ b/setup.py @@ -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' ]