diff --git a/osx/scripts/setup.sh b/osx/scripts/setup.sh index 152c7415f..7540a34d1 100644 --- a/osx/scripts/setup.sh +++ b/osx/scripts/setup.sh @@ -215,7 +215,7 @@ cd boost_1_46_1 } ./bootstrap.sh -./bjam --prefix=$PREFIX --with-python --with-thread --with-filesystem \ +./bjam --prefix=$PREFIX --with-thread --with-filesystem \ --with-regex --with-program_options --with-system \ -sHAVE_ICU=1 -sICU_PATH=$PREFIX \ toolset=darwin \ @@ -225,7 +225,7 @@ cd boost_1_46_1 variant=release \ stage -./bjam --prefix=$PREFIX --with-python --with-thread --with-filesystem \ +./bjam --prefix=$PREFIX --with-thread --with-filesystem \ --with-regex --with-program_options --with-system \ -sHAVE_ICU=1 -sICU_PATH=$PREFIX \ toolset=darwin \ @@ -235,6 +235,16 @@ cd boost_1_46_1 variant=release \ install +# if needed, rebuild regex without icu.. +./bjam --prefix=$PREFIX --with-regex \ + --disable-icu -a \ + toolset=darwin \ + address-model=32_64 \ + architecture=x86 \ + link=shared \ + variant=release \ + install + # boost python for various versions are done in python script python ../../scripts/build_boost_pythons.py 2.5 32_64 mv stage/lib/libboost_python.dylib stage/lib/libboost_python25.dylib