emscripten: export _malloc() and _free()

This commit is contained in:
Frank Denis 2017-12-25 22:31:04 +01:00
parent 88fca4834c
commit 8eba49b6a8

View File

@ -54,7 +54,7 @@ else
echo
exit 1
fi
export JS_EXPORTS_FLAGS="-s EXPORTED_FUNCTIONS=${EXPORTED_FUNCTIONS} -s EXTRA_EXPORTED_RUNTIME_METHODS=[\"Pointer_stringify\"]"
export JS_EXPORTS_FLAGS="-s EXPORTED_FUNCTIONS=${EXPORTED_FUNCTIONS} -s EXTRA_EXPORTED_RUNTIME_METHODS=[\"Pointer_stringify\",\"_malloc\",\"_free\"]"
rm -f "$DONE_FILE"