mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-26 20:26:41 +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
|
. config/options $1
|
||||||
|
|
||||||
|
if [ "$ICONV" = "libiconv" ]; then
|
||||||
|
CONFIG_LIBXML="--with-iconv"
|
||||||
|
fi
|
||||||
|
|
||||||
cd $PKG_BUILD
|
cd $PKG_BUILD
|
||||||
mkdir -p .build-target
|
mkdir -p .build-target
|
||||||
|
|
||||||
@ -32,7 +36,7 @@ cd .build-target
|
|||||||
--sysconfdir=/etc \
|
--sysconfdir=/etc \
|
||||||
--enable-static \
|
--enable-static \
|
||||||
--enable-shared \
|
--enable-shared \
|
||||||
--with-iconv \
|
$CONFIG_LIBXML \
|
||||||
--disable-ipv6 \
|
--disable-ipv6 \
|
||||||
--without-python \
|
--without-python \
|
||||||
--with-zlib
|
--with-zlib
|
||||||
|
@ -25,8 +25,8 @@ PKG_ARCH="any"
|
|||||||
PKG_LICENSE="MIT"
|
PKG_LICENSE="MIT"
|
||||||
PKG_SITE="http://xmlsoft.org"
|
PKG_SITE="http://xmlsoft.org"
|
||||||
PKG_URL="ftp://xmlsoft.org/libxml2/$PKG_NAME-$PKG_VERSION.tar.gz"
|
PKG_URL="ftp://xmlsoft.org/libxml2/$PKG_NAME-$PKG_VERSION.tar.gz"
|
||||||
PKG_DEPENDS="libiconv"
|
PKG_DEPENDS="$ICONV"
|
||||||
PKG_BUILD_DEPENDS="toolchain libiconv"
|
PKG_BUILD_DEPENDS="toolchain $ICONV"
|
||||||
PKG_PRIORITY="optional"
|
PKG_PRIORITY="optional"
|
||||||
PKG_SECTION="textproc"
|
PKG_SECTION="textproc"
|
||||||
PKG_SHORTDESC="libxml: XML parser library for Gnome"
|
PKG_SHORTDESC="libxml: XML parser library for Gnome"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user