Emscripten: libicu is not working anyway, because there are no libicuuc and libicu-le-hb available

This commit is contained in:
Sergii Pylypenko
2021-05-05 23:32:53 +03:00
parent 10fb568cd0
commit 8efa8964d0
2 changed files with 4 additions and 4 deletions

View File

@@ -332,8 +332,8 @@ if(EMSCRIPTEN)
target_link_libraries(WASM::WASM INTERFACE "--preload-file ${CMAKE_SOURCE_DIR}/bin/ai@/ai")
target_link_libraries(WASM::WASM INTERFACE "--preload-file ${CMAKE_SOURCE_DIR}/bin/game@/game")
target_link_libraries(WASM::WASM INTERFACE "--preload-file ${CMAKE_SOURCE_DIR}/bin/scripts@/scripts")
target_link_libraries(WASM::WASM INTERFACE "--preload-file ${CMAKE_BINARY_DIR}/icudt68l.dat@/share/icu/68.2/icudt68l.dat")
target_link_libraries(WASM::WASM INTERFACE "--preload-file ${CMAKE_BINARY_DIR}/fonts@/fonts")
#target_link_libraries(WASM::WASM INTERFACE "--preload-file ${CMAKE_BINARY_DIR}/icudt68l.dat@/share/icu/68.2/icudt68l.dat")
#target_link_libraries(WASM::WASM INTERFACE "--preload-file ${CMAKE_BINARY_DIR}/timidity@/timidity")
# We use IDBFS for persistent storage.

View File

@@ -150,9 +150,9 @@ mkdir -p baseset
rm openmsx-0.4.0.tar
}
[ -e icudt68l.dat ] || {
cp -f "`em-config EMSCRIPTEN_ROOT`/cache/ports-builds/icu/source/data/in/icudt68l.dat" ./ || exit 1
}
#[ -e icudt68l.dat ] || {
# cp -f "`em-config EMSCRIPTEN_ROOT`/cache/ports-builds/icu/source/data/in/icudt68l.dat" ./ || exit 1
#}
[ -e fonts ] || {
wget -nc https://sourceforge.net/projects/libsdl-android/files/openttd-fonts.zip || exit 1