icu: set -nostdlib for libicudata.so unconditionally (fixes native build on ARM).

This commit is contained in:
Christian Neukirchen 2015-04-05 00:50:16 +02:00
parent 6efbe49a34
commit 5f1ee90b50

View file

@ -1,7 +1,7 @@
# Template build file for 'icu'.
pkgname=icu
version=54.1
revision=1
revision=2
wrksrc=icu
build_wrksrc=source
build_style=gnu-configure
@ -31,10 +31,12 @@ pre_configure() {
make DESTDIR=${wrksrc}/host-icu install
mv ${wrksrc}/host-icu/sbin/* ${wrksrc}/host-icu/bin
make distclean
# libicudata must be linked to libc, otherwise it's soft-float.
# See https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=653457
sed -e 's,-nostdlib,,g' -i ${wrksrc}/source/config/mh-linux
fi
# libicudata must be linked to libc, otherwise it's soft-float on ARM.
# probably other stuff breaks too, so let's just do it.
# See https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=653457
sed -e 's,-nostdlib,,g' -i ${wrksrc}/source/config/mh-linux
}
post_install() {