boost: build as shared library

Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
Stephan Raue 2010-07-15 21:19:24 +02:00
parent 663c09a70e
commit cf1b298c47
3 changed files with 14 additions and 1 deletions

View File

@ -5,6 +5,8 @@
$SCRIPTS/build toolchain $SCRIPTS/build toolchain
$SCRIPTS/build boost-jam $SCRIPTS/build boost-jam
$SCRIPTS/build Python $SCRIPTS/build Python
$SCRIPTS/build zlib
$SCRIPTS/build bzip2
cd $PKG_BUILD cd $PKG_BUILD
sh bootstrap.sh \ sh bootstrap.sh \
@ -16,7 +18,7 @@ echo "using gcc : `$TARGET_CC -v 2>&1 | tail -n 1 |awk '{print $3}'` : $TARGET_
> tools/build/v2/user-config.jam > tools/build/v2/user-config.jam
$ROOT/$TOOLCHAIN/bin/bjam -d2 --toolset=gcc \ $ROOT/$TOOLCHAIN/bin/bjam -d2 --toolset=gcc \
link=static \ link=shared \
--prefix=$SYSROOT_PREFIX/usr \ --prefix=$SYSROOT_PREFIX/usr \
--layout=system \ --layout=system \
--with-thread \ --with-thread \

10
packages/devel/boost/install Executable file
View File

@ -0,0 +1,10 @@
#!/bin/sh
. config/options
$SCRIPTS/install zlib
$SCRIPTS/install bzip2
mkdir -p $INSTALL/usr/lib
find $PKG_BUILD/bin.v2/libs/ -name *.so* -exec \
cp -P "{}" ";" $INSTALL/usr/lib

View File

@ -3,6 +3,7 @@
. config/options . config/options
$SCRIPTS/install Python $SCRIPTS/install Python
$SCRIPTS/install boost
$SCRIPTS/install zlib $SCRIPTS/install zlib
$SCRIPTS/install bzip2 $SCRIPTS/install bzip2
$SCRIPTS/install lzo $SCRIPTS/install lzo