osx: rebuild libboost_regex without icu support to workaround 'Could not initialize ICU resources'
This commit is contained in:
parent
58a41d114d
commit
cf348c9460
1 changed files with 12 additions and 2 deletions
|
@ -215,7 +215,7 @@ cd boost_1_46_1
|
||||||
}
|
}
|
||||||
|
|
||||||
./bootstrap.sh
|
./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 \
|
--with-regex --with-program_options --with-system \
|
||||||
-sHAVE_ICU=1 -sICU_PATH=$PREFIX \
|
-sHAVE_ICU=1 -sICU_PATH=$PREFIX \
|
||||||
toolset=darwin \
|
toolset=darwin \
|
||||||
|
@ -225,7 +225,7 @@ cd boost_1_46_1
|
||||||
variant=release \
|
variant=release \
|
||||||
stage
|
stage
|
||||||
|
|
||||||
./bjam --prefix=$PREFIX --with-python --with-thread --with-filesystem \
|
./bjam --prefix=$PREFIX --with-thread --with-filesystem \
|
||||||
--with-regex --with-program_options --with-system \
|
--with-regex --with-program_options --with-system \
|
||||||
-sHAVE_ICU=1 -sICU_PATH=$PREFIX \
|
-sHAVE_ICU=1 -sICU_PATH=$PREFIX \
|
||||||
toolset=darwin \
|
toolset=darwin \
|
||||||
|
@ -235,6 +235,16 @@ cd boost_1_46_1
|
||||||
variant=release \
|
variant=release \
|
||||||
install
|
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
|
# boost python for various versions are done in python script
|
||||||
python ../../scripts/build_boost_pythons.py 2.5 32_64
|
python ../../scripts/build_boost_pythons.py 2.5 32_64
|
||||||
mv stage/lib/libboost_python.dylib stage/lib/libboost_python25.dylib
|
mv stage/lib/libboost_python.dylib stage/lib/libboost_python25.dylib
|
||||||
|
|
Loading…
Add table
Reference in a new issue