tinyxml2: build statically, fix build

Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
Stephan Raue 2016-03-22 19:23:51 +01:00 committed by Lukas Rusak
parent 6a757af6b3
commit 37e056bb55

View File

@ -39,10 +39,10 @@ pre_configure_target() {
configure_target() {
cmake -DCMAKE_TOOLCHAIN_FILE=$CMAKE_CONF \
-DCMAKE_INSTALL_PREFIX=/usr \
-DBUILD_SHARED_LIBS=off \
..
}
post_makeinstall_target() {
rm $SYSROOT_PREFIX/usr/lib/libtinyxml2.so*
rm -rf $INSTALL/usr
}