yajl: simplyfing cmake configuration

Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
Stephan Raue 2016-09-23 14:29:49 -07:00 committed by Lukas Rusak
parent b36594cb67
commit c57cef2c8e
No known key found for this signature in database
GPG Key ID: 8C310C807E7393A3

View File

@ -32,12 +32,6 @@ PKG_LONGDESC="Yet Another JSON Library (YAJL) is a small event-driven (SAX-style
PKG_IS_ADDON="no"
PKG_AUTORECONF="no"
configure_target() {
cmake -DCMAKE_TOOLCHAIN_FILE=$CMAKE_CONF \
-DCMAKE_INSTALL_PREFIX=/usr \
..
}
post_makeinstall_target() {
mv $SYSROOT_PREFIX/usr/lib/libyajl_s.a $SYSROOT_PREFIX/usr/lib/libyajl.a
rm $SYSROOT_PREFIX/usr/lib/libyajl.so*