From a1c666b6e5f1f23d8b3de2be754f152d2ba2c8a3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Morten=20Johan=20S=C3=B8rvig?= Date: Wed, 12 Jan 2022 22:52:37 +0100 Subject: [PATCH] wasm: fix EXPORTED_RUNTIME_METHODS also for qmake MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Emscripten has deprecated the “EXTRA_” prefix. Pick-to: 6.3 Change-Id: I8cbfab933ba46e293f3bd6262cf0147c3c8978cf Reviewed-by: Joerg Bornemann Reviewed-by: David Skoland Reviewed-by: Lorn Potter --- mkspecs/wasm-emscripten/qmake.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mkspecs/wasm-emscripten/qmake.conf b/mkspecs/wasm-emscripten/qmake.conf index 0c93a973cf..2b55a3bf8a 100644 --- a/mkspecs/wasm-emscripten/qmake.conf +++ b/mkspecs/wasm-emscripten/qmake.conf @@ -34,7 +34,7 @@ EMCC_COMMON_LFLAGS += \ -s FULL_ES3=1 \ -s USE_WEBGL2=1 \ -s ERROR_ON_UNDEFINED_SYMBOLS=1 \ - -s EXTRA_EXPORTED_RUNTIME_METHODS=[\"UTF16ToString\",\"stringToUTF16\"] \ + -s EXPORTED_RUNTIME_METHODS=[UTF16ToString,stringToUTF16] \ --bind \ -s FETCH=1 \ -s MODULARIZE=1 \