diff --git a/packages/textproc/xerces-c/build b/packages/textproc/xerces-c/build index 35c28524f0..21970f407e 100755 --- a/packages/textproc/xerces-c/build +++ b/packages/textproc/xerces-c/build @@ -25,6 +25,8 @@ # xerces_c fails to build with LTO support strip_lto +export LDFLAGS="$LDFLAGS -liconv" + cd $PKG_BUILD ./configure --host=$TARGET_NAME \ --build=$HOST_NAME \ @@ -44,7 +46,8 @@ cd $PKG_BUILD --enable-msgloader-inmemory \ --disable-msgloader-icu \ --enable-msgloader-iconv \ + --disable-rpath \ + --with-gnu-ld make - $MAKEINSTALL diff --git a/packages/textproc/xerces-c/meta b/packages/textproc/xerces-c/meta index e4e9e8dac7..ddc3f4f3f9 100644 --- a/packages/textproc/xerces-c/meta +++ b/packages/textproc/xerces-c/meta @@ -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="curl" -PKG_BUILD_DEPENDS="toolchain curl" +PKG_DEPENDS="libiconv curl" +PKG_BUILD_DEPENDS="toolchain libiconv curl" PKG_PRIORITY="optional" PKG_SECTION="textproc" PKG_SHORTDESC="xerces-c: A C++ XML parser"