fix for boost (symlink was buggy, and better to only build needed boost libs).

Note; we might also want to add the --without-icu option later...
This commit is contained in:
Bastien Montagne 2012-11-13 06:22:47 +00:00
parent add5dd3797
commit d1cd8f5802

@ -42,7 +42,7 @@ detect_distro() {
} }
prepare_opt() { prepare_opt() {
INFO "Ensuring /opt/lib exists and vritabele by us" INFO "Ensuring /opt/lib exists and writable by us"
sudo mkdir -p /opt/lib sudo mkdir -p /opt/lib
sudo chown $USER /opt/lib sudo chown $USER /opt/lib
sudo chmod 775 /opt/lib sudo chmod 775 /opt/lib
@ -98,12 +98,12 @@ compile_Boost() {
fi fi
cd $SRC/boost_$BOOST_VERSION cd $SRC/boost_$BOOST_VERSION
./bootstrap.sh ./bootstrap.sh --with-libraries=system,filesystem,thread,regex,locale --prefix=/opt/lib/boost-$version_dots
./b2 install --prefix=/opt/lib/boost-$version_dots ./b2 install
./b2 --clean ./b2 --clean
rm -f /opt/lib/boost rm -f /opt/lib/boost
ln -s boost-$BOOST_VERSION /opt/lib/boost ln -s boost-$version_dots /opt/lib/boost
cd $CWD cd $CWD
fi fi