icu: link libicudata to libc to make this work on hard-float platforms.

See https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=653457
for more information.
This commit is contained in:
Juan RP 2014-05-22 08:31:12 +02:00
parent 39823fecec
commit 57a4c4176b

View file

@ -2,7 +2,7 @@
pkgname=icu
version=49.1.2
_distver="49_1_2"
revision=5
revision=6
wrksrc=icu
build_wrksrc=source
build_style=gnu-configure
@ -30,6 +30,9 @@ pre_configure() {
cp config/icucross.mk ${wrksrc}/host-icu/config
make DESTDIR=${wrksrc}/host-icu install
mv ${wrksrc}/host-icu/sbin/* ${wrksrc}/host-icu/bin
# 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
}