summaryrefslogtreecommitdiff
path: root/platform/javascript
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2019-08-13 08:27:44 +0200
committerGitHub <noreply@github.com>2019-08-13 08:27:44 +0200
commitb7adb21f3b75068a1147d57c8bc3263c18164240 (patch)
tree88208ae2232b60bb416669d69675d4dff3453b17 /platform/javascript
parenta476a5b71eb7039ccdec9a12daba92a9c2485302 (diff)
parent3c176827d6f67ae09ba4406507a0a927e3d51dee (diff)
Merge pull request #31330 from Mellondill/rt_env_call_main
HTML5: this.rtenv.callMain is not a function when using latest-upstream backend
Diffstat (limited to 'platform/javascript')
-rw-r--r--platform/javascript/detect.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/platform/javascript/detect.py b/platform/javascript/detect.py
index ac43392700..a0d6ac9214 100644
--- a/platform/javascript/detect.py
+++ b/platform/javascript/detect.py
@@ -141,3 +141,6 @@ def configure(env):
# TODO: Reevaluate usage of this setting now that engine.js manages engine runtime.
env.Append(LINKFLAGS=['-s', 'NO_EXIT_RUNTIME=1'])
+
+ #adding flag due to issue with emscripten 1.38.41 callMain method https://github.com/emscripten-core/emscripten/blob/incoming/ChangeLog.md#v13841-08072019
+ env.Append(LINKFLAGS=['-s', 'EXTRA_EXPORTED_RUNTIME_METHODS=["callMain"]'])