wasm: use simpler syntax for EXPORTED_RUNTIME_METHODS
Recents emsdk versions support specifying the method list without using brackets. Switch to this syntax since that avoids any quoting issues. Pick-to: 6.4 Change-Id: Ib7bf8ec3f0d2ef67e8222a23e7af9b368ee99a00 Reviewed-by: Morten Johan Sørvig <morten.sorvig@qt.io>
This commit is contained in:
parent
36fa489cb8
commit
5b23f08b81
@ -4,7 +4,7 @@ function (qt_internal_setup_wasm_target_properties wasmTarget)
|
||||
|
||||
target_link_options("${wasmTarget}" INTERFACE
|
||||
"SHELL:-s ERROR_ON_UNDEFINED_SYMBOLS=1"
|
||||
"SHELL:-s EXPORTED_RUNTIME_METHODS=[UTF16ToString,stringToUTF16]"
|
||||
"SHELL:-s EXPORTED_RUNTIME_METHODS=UTF16ToString,stringToUTF16"
|
||||
"SHELL:-s MAX_WEBGL_VERSION=2"
|
||||
"SHELL:-s FETCH=1"
|
||||
"SHELL:-s WASM_BIGINT=1")
|
||||
|
@ -32,7 +32,7 @@ EMCC_COMMON_LFLAGS += \
|
||||
-s WASM=1 \
|
||||
-s MAX_WEBGL_VERSION=2 \
|
||||
-s ERROR_ON_UNDEFINED_SYMBOLS=1 \
|
||||
-s EXPORTED_RUNTIME_METHODS=[UTF16ToString,stringToUTF16] \
|
||||
-s EXPORTED_RUNTIME_METHODS=UTF16ToString,stringToUTF16 \
|
||||
--bind \
|
||||
-s FETCH=1 \
|
||||
-s MODULARIZE=1 \
|
||||
|
Loading…
Reference in New Issue
Block a user