diff --git a/dist-build/emscripten.sh b/dist-build/emscripten.sh index 35028e45..a7c8e8f5 100755 --- a/dist-build/emscripten.sh +++ b/dist-build/emscripten.sh @@ -54,7 +54,7 @@ else echo exit 1 fi -export JS_EXPORTS_FLAGS="-s EXPORTED_FUNCTIONS=${EXPORTED_FUNCTIONS}" +export JS_EXPORTS_FLAGS="-s EXPORTED_FUNCTIONS=${EXPORTED_FUNCTIONS} -s EXTRA_EXPORTED_RUNTIME_METHODS=[\"Pointer_stringify\"]" rm -f "$DONE_FILE"