From dd72efe41f3afeb3f19bd47989dc7fced2965725 Mon Sep 17 00:00:00 2001 From: Frank Denis Date: Tue, 13 Oct 2020 16:14:39 +0200 Subject: [PATCH] emscripten: RUNNING_JS_OPTS has been removed in recent versions --- dist-build/emscripten.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dist-build/emscripten.sh b/dist-build/emscripten.sh index 89e9b82a..fe1532f6 100755 --- a/dist-build/emscripten.sh +++ b/dist-build/emscripten.sh @@ -78,7 +78,7 @@ if [ "$DIST" = yes ]; then "${PREFIX}/lib/libsodium.a" -o "${outFile}" || exit 1 } emmake make $MAKE_FLAGS install || exit 1 - emccLibsodium "${PREFIX}/lib/libsodium.asm.tmp.js" -Oz -s WASM=0 -s RUNNING_JS_OPTS=1 + emccLibsodium "${PREFIX}/lib/libsodium.asm.tmp.js" -Oz -s WASM=0 emccLibsodium "${PREFIX}/lib/libsodium.wasm.tmp.js" -O3 -s WASM=1 cat >"${PREFIX}/lib/libsodium.js" <<-EOM