mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 13:46:49 +00:00
boost: build as shared library
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
663c09a70e
commit
cf1b298c47
@ -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
10
packages/devel/boost/install
Executable 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
|
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user