mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +00:00
xerces-c: make build with libiconv optional
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
7a9cdf4d8a
commit
e9bc71b5a9
@ -25,7 +25,9 @@
|
||||
# xerces_c fails to build with LTO support
|
||||
strip_lto
|
||||
|
||||
export LDFLAGS="$LDFLAGS -liconv"
|
||||
if [ "$ICONV" = "libiconv" ]; then
|
||||
export LDFLAGS="$LDFLAGS -liconv"
|
||||
fi
|
||||
|
||||
cd $PKG_BUILD
|
||||
./configure --host=$TARGET_NAME \
|
||||
|
@ -25,8 +25,8 @@ PKG_ARCH="any"
|
||||
PKG_LICENSE="APL"
|
||||
PKG_SITE="http://xml.apache.org/xerces-c/"
|
||||
PKG_URL="http://mirror.switch.ch/mirror/apache/dist/xerces/c/3/sources/$PKG_NAME-$PKG_VERSION.tar.gz"
|
||||
PKG_DEPENDS="libiconv curl"
|
||||
PKG_BUILD_DEPENDS="toolchain libiconv curl"
|
||||
PKG_DEPENDS="$ICONV curl"
|
||||
PKG_BUILD_DEPENDS="toolchain $ICONV curl"
|
||||
PKG_PRIORITY="optional"
|
||||
PKG_SECTION="textproc"
|
||||
PKG_SHORTDESC="xerces-c: A C++ XML parser"
|
||||
|
Loading…
x
Reference in New Issue
Block a user