1
mirror of https://github.com/jedisct1/libsodium.git synced 2024-12-24 12:36:01 -07:00
This commit is contained in:
Ryan Lester 2018-06-20 14:25:08 -04:00
parent cfb0f94704
commit 787d173483
No known key found for this signature in database
GPG Key ID: 0A5309A7C2085405

View File

@ -76,7 +76,7 @@ if [ "$DIST" = yes ]; then
"${PREFIX}/lib/libsodium.a" -o "${outFile}" || exit 1 "${PREFIX}/lib/libsodium.a" -o "${outFile}" || exit 1
} }
emmake make $MAKE_FLAGS install || exit 1 emmake make $MAKE_FLAGS install || exit 1
emccLibsodium "${PREFIX}/lib/libsodium.asm.tmp.js" -Oz -s RUNNING_JS_OPTS=1 emccLibsodium "${PREFIX}/lib/libsodium.asm.tmp.js" -Oz -s WASM=0 -s RUNNING_JS_OPTS=1
emccLibsodium "${PREFIX}/lib/libsodium.wasm.tmp.js" -O3 -s WASM=1 emccLibsodium "${PREFIX}/lib/libsodium.wasm.tmp.js" -O3 -s WASM=1
cat > "${PREFIX}/lib/libsodium.js" <<- EOM cat > "${PREFIX}/lib/libsodium.js" <<- EOM