1
mirror of https://github.com/jedisct1/libsodium.git synced 2024-12-23 20:15:19 -07:00

emscripten: do not use closure

This commit is contained in:
Frank Denis 2018-01-15 13:33:33 +01:00
parent 74a4496cc5
commit bc6541a70a

View File

@ -72,7 +72,7 @@ if [ "$DIST" = yes ]; then
emccLibsodium () {
outFile="${1}"
shift
emcc "$CFLAGS" --closure 1 --llvm-lto 1 $CPPFLAGS $LDFLAGS $JS_EXPORTS_FLAGS ${@} \
emcc "$CFLAGS" --llvm-lto 1 $CPPFLAGS $LDFLAGS $JS_EXPORTS_FLAGS ${@} \
"${PREFIX}/lib/libsodium.a" -o "${outFile}" || exit 1
}
emmake make $MAKE_FLAGS install || exit 1