emscripten: export _malloc() and _free()

This commit is contained in:
Frank Denis 2017-12-25 22:31:04 +01:00
parent a3d8450109
commit feddd3fab9

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"