osx: rebuild libboost_regex without icu support to workaround 'Could not initialize ICU resources'

This commit is contained in:
Dane Springmeyer 2011-05-13 19:03:38 +00:00
parent 58a41d114d
commit cf348c9460

View file

@ -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