mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +00:00
libxml2: make build with libiconv optional
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
e9bc71b5a9
commit
2780fb8af5
@ -22,6 +22,10 @@
|
||||
|
||||
. config/options $1
|
||||
|
||||
if [ "$ICONV" = "libiconv" ]; then
|
||||
CONFIG_LIBXML="--with-iconv"
|
||||
fi
|
||||
|
||||
cd $PKG_BUILD
|
||||
mkdir -p .build-target
|
||||
|
||||
@ -32,7 +36,7 @@ cd .build-target
|
||||
--sysconfdir=/etc \
|
||||
--enable-static \
|
||||
--enable-shared \
|
||||
--with-iconv \
|
||||
$CONFIG_LIBXML \
|
||||
--disable-ipv6 \
|
||||
--without-python \
|
||||
--with-zlib
|
||||
|
@ -25,8 +25,8 @@ PKG_ARCH="any"
|
||||
PKG_LICENSE="MIT"
|
||||
PKG_SITE="http://xmlsoft.org"
|
||||
PKG_URL="ftp://xmlsoft.org/libxml2/$PKG_NAME-$PKG_VERSION.tar.gz"
|
||||
PKG_DEPENDS="libiconv"
|
||||
PKG_BUILD_DEPENDS="toolchain libiconv"
|
||||
PKG_DEPENDS="$ICONV"
|
||||
PKG_BUILD_DEPENDS="toolchain $ICONV"
|
||||
PKG_PRIORITY="optional"
|
||||
PKG_SECTION="textproc"
|
||||
PKG_SHORTDESC="libxml: XML parser library for Gnome"
|
||||
|
Loading…
x
Reference in New Issue
Block a user