diff options
author | Timothy Gu <timothygu99@gmail.com> | 2014-08-10 17:46:36 (GMT) |
---|---|---|
committer | Timothy Gu <timothygu99@gmail.com> | 2014-08-10 17:47:36 (GMT) |
commit | 9343b2620ebb7dad43f1b052f7a4cfd58592c691 (patch) | |
tree | a5644ad71817636e86625a409ecda7e712159321 /src/icu4c.mk | |
parent | 8e1be39ff0de4e0785bdd58c31cddcfc72ed9169 (diff) | |
download | mxe-9343b2620ebb7dad43f1b052f7a4cfd58592c691.zip mxe-9343b2620ebb7dad43f1b052f7a4cfd58592c691.tar.gz mxe-9343b2620ebb7dad43f1b052f7a4cfd58592c691.tar.bz2 |
icu4c: symlink <lib>53.dll.a to <lib>.dll.a
Fixes #454.
Signed-off-by: Timothy Gu <timothygu99@gmail.com>
Diffstat (limited to 'src/icu4c.mk')
-rw-r--r-- | src/icu4c.mk | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/icu4c.mk b/src/icu4c.mk index cf8e269..03b7a86 100644 --- a/src/icu4c.mk +++ b/src/icu4c.mk @@ -4,6 +4,7 @@ PKG := icu4c $(PKG)_IGNORE := $(PKG)_VERSION := 53.1 +$(PKG)_MAJOR := $(word 1,$(subst ., ,$($(PKG)_VERSION))) $(PKG)_CHECKSUM := 7eca017fdd101e676d425caaf28ef862d3655e0f $(PKG)_SUBDIR := icu $(PKG)_FILE := $(PKG)-$(subst .,_,$($(PKG)_VERSION))-src.tgz @@ -39,6 +40,11 @@ define $(PKG)_BUILD_SHARED $($(PKG)_BUILD_COMMON) # icu4c installs its DLLs to lib/. Move them to bin/. mv -fv $(PREFIX)/$(TARGET)/lib/icu*.dll '$(PREFIX)/$(TARGET)/bin/' + # add symlinks icu*<version>.dll.a to icu*.dll.a + for lib in `ls '$(PREFIX)/$(TARGET)/lib/' | grep 'icu.*\.dll\.a' | cut -d '.' -f 1 | tr '\n' ' '`; \ + do \ + ln -fs "$(PREFIX)/$(TARGET)/lib/$${lib}.dll.a" "$(PREFIX)/$(TARGET)/lib/$${lib}$($(PKG)_MAJOR).dll.a"; \ + done endef define $(PKG)_BUILD |