summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTony Theodore <tonyt@logyst.com>2013-05-18 12:17:55 (GMT)
committerTony Theodore <tonyt@logyst.com>2013-05-18 12:17:55 (GMT)
commit107c71c16f2dc54e32d2c3ea5063b97d7d12d5da (patch)
treec572ad50d0a9105d36f2b285b80d947384db0510
parent2c2d51ff5e033b219043711eabbd148d31a2b4ac (diff)
downloadmxe-107c71c16f2dc54e32d2c3ea5063b97d7d12d5da.zip
mxe-107c71c16f2dc54e32d2c3ea5063b97d7d12d5da.tar.gz
mxe-107c71c16f2dc54e32d2c3ea5063b97d7d12d5da.tar.bz2
package icu4c: fix icu-config script for static libs
-rw-r--r--src/icu4c.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/icu4c.mk b/src/icu4c.mk
index 0c8e8bc..f680573 100644
--- a/src/icu4c.mk
+++ b/src/icu4c.mk
@@ -30,4 +30,8 @@ define $(PKG)_BUILD
$(MAKE) -C '$(1).cross' -j '$(JOBS)' install LIBPREFIX=lib
ln -sf '$(PREFIX)/$(TARGET)/bin/icu-config' '$(PREFIX)/bin/$(TARGET)-icu-config'
+
+ # Static libs are prefixed with an `s` but the config script
+ # doesn't detect it properly, despite the STATIC_PREFIX="s" line
+ $(SED) -i 's,ICUPREFIX="icu",ICUPREFIX="sicu",' '$(PREFIX)/$(TARGET)/bin/icu-config'
endef