libxslt: add support for host build

Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
Stephan Raue 2016-04-08 11:13:24 +02:00 committed by Lukas Rusak
parent cead6d4b5f
commit d30ef8dfe7

View File

@ -23,6 +23,7 @@ PKG_ARCH="any"
PKG_LICENSE="MIT"
PKG_SITE="http://xmlsoft.org/xslt/"
PKG_URL="ftp://xmlsoft.org/libxml2/$PKG_NAME-$PKG_VERSION.tar.gz"
PKG_DEPENDS_HOST="toolchain libxml2:host"
PKG_DEPENDS_TARGET="toolchain libxml2"
PKG_PRIORITY="optional"
PKG_SECTION="textproc"
@ -32,6 +33,13 @@ PKG_LONGDESC="libxslt"
PKG_IS_ADDON="no"
PKG_AUTORECONF="yes"
PKG_CONFIGURE_OPTS_HOST=" ac_cv_header_ansidecl_h=no \
--enable-static \
--disable-shared \
--without-python \
--with-libxml-prefix=$ROOT/$TOOLCHAIN \
--without-crypto"
PKG_CONFIGURE_OPTS_TARGET="ac_cv_header_ansidecl_h=no \
--enable-static \
--disable-shared \