diff options
author | Timothy Gu <timothygu99@gmail.com> | 2014-08-08 00:34:58 (GMT) |
---|---|---|
committer | Timothy Gu <timothygu99@gmail.com> | 2014-08-08 00:34:58 (GMT) |
commit | 4cc9e46f4881b0d1aa0a9464f5879a4899e3825d (patch) | |
tree | fa62899f7524da677a1a0d4ae12181b1c6e28a66 /src/icu4c.mk | |
parent | 2182e9b2f9b8be2fc430373884b96d0fc761a513 (diff) | |
download | mxe-4cc9e46f4881b0d1aa0a9464f5879a4899e3825d.zip mxe-4cc9e46f4881b0d1aa0a9464f5879a4899e3825d.tar.gz mxe-4cc9e46f4881b0d1aa0a9464f5879a4899e3825d.tar.bz2 |
icu4c: move DLLs to bin/
See #393.
Signed-off-by: Timothy Gu <timothygu99@gmail.com>
Diffstat (limited to 'src/icu4c.mk')
-rw-r--r-- | src/icu4c.mk | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/src/icu4c.mk b/src/icu4c.mk index af3130a..19de795 100644 --- a/src/icu4c.mk +++ b/src/icu4c.mk @@ -18,7 +18,7 @@ define $(PKG)_UPDATE tail -1 endef -define $(PKG)_BUILD_SHARED +define $(PKG)_BUILD_COMMON cd '$(1)/source' && autoreconf -fi mkdir '$(1).native' && cd '$(1).native' && '$(1)/source/configure' \ CC=gcc CXX=g++ @@ -35,8 +35,14 @@ define $(PKG)_BUILD_SHARED ln -sf '$(PREFIX)/$(TARGET)/bin/icu-config' '$(PREFIX)/bin/$(TARGET)-icu-config' endef +define $(PKG)_BUILD_SHARED + $($(PKG)_BUILD_COMMON) + # icu4c installs its DLLs to lib/. Move them to bin/. + mv -fv $(wildcard $(PREFIX)/$(TARGET)/lib/icu*.dll) '$(PREFIX)/$(TARGET)/bin/' +endef + define $(PKG)_BUILD - $($(PKG)_BUILD_SHARED) + $($(PKG)_BUILD_COMMON) # 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' |