emscripten: RUNNING_JS_OPTS has been removed in recent versions

This commit is contained in:
Frank Denis 2020-10-13 16:14:39 +02:00
parent f5a4cc6337
commit 3e10dcd813

View File

@ -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