icu4c: fix for x86_64-w64-mingw32.shared build

This is the 2nd attempt to fix the problem, after realizing that
the manual renaming of the DLL is still needed for
i686_64-w64-mingw32.shared but not for x86_64-w64-mingw32.shared.
This commit is contained in:
Mark Brand 2019-11-03 23:37:24 +01:00
parent 3f0668d21d
commit 25b48f2ae8
1 changed files with 2 additions and 1 deletions

View File

@ -55,7 +55,8 @@ define $(PKG)_BUILD_SHARED
mv -fv $(PREFIX)/$(TARGET)/lib/icu*.dll '$(PREFIX)/$(TARGET)/bin/'
# stub data is icudt.dll, actual data is libicudt.dll - prefer actual
mv -fv '$(PREFIX)/$(TARGET)/lib/libicudt$($(PKG)_MAJOR).dll' '$(PREFIX)/$(TARGET)/bin/icudt$($(PKG)_MAJOR).dll'
test ! -e '$(PREFIX)/$(TARGET)/lib/libicudt$($(PKG)_MAJOR).dll' \
|| mv -fv '$(PREFIX)/$(TARGET)/lib/libicudt$($(PKG)_MAJOR).dll' '$(PREFIX)/$(TARGET)/bin/icudt$($(PKG)_MAJOR).dll'
$($(PKG)_BUILD_TEST)