xerces-c: add libiconv support

Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
Stephan Raue 2011-02-10 12:28:46 +01:00
parent 8b799346e6
commit ef2006c581
2 changed files with 6 additions and 3 deletions

View File

@ -25,6 +25,8 @@
# xerces_c fails to build with LTO support # xerces_c fails to build with LTO support
strip_lto strip_lto
export LDFLAGS="$LDFLAGS -liconv"
cd $PKG_BUILD cd $PKG_BUILD
./configure --host=$TARGET_NAME \ ./configure --host=$TARGET_NAME \
--build=$HOST_NAME \ --build=$HOST_NAME \
@ -44,7 +46,8 @@ cd $PKG_BUILD
--enable-msgloader-inmemory \ --enable-msgloader-inmemory \
--disable-msgloader-icu \ --disable-msgloader-icu \
--enable-msgloader-iconv \ --enable-msgloader-iconv \
--disable-rpath \
--with-gnu-ld
make make
$MAKEINSTALL $MAKEINSTALL

View File

@ -25,8 +25,8 @@ PKG_ARCH="any"
PKG_LICENSE="APL" PKG_LICENSE="APL"
PKG_SITE="http://xml.apache.org/xerces-c/" 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_URL="http://mirror.switch.ch/mirror/apache/dist/xerces/c/3/sources/$PKG_NAME-$PKG_VERSION.tar.gz"
PKG_DEPENDS="curl" PKG_DEPENDS="libiconv curl"
PKG_BUILD_DEPENDS="toolchain curl" PKG_BUILD_DEPENDS="toolchain libiconv curl"
PKG_PRIORITY="optional" PKG_PRIORITY="optional"
PKG_SECTION="textproc" PKG_SECTION="textproc"
PKG_SHORTDESC="xerces-c: A C++ XML parser" PKG_SHORTDESC="xerces-c: A C++ XML parser"