Merge pull request #31330 from Mellondill/rt_env_call_main

HTML5: this.rtenv.callMain is not a function when using latest-upstream backend
This commit is contained in:
Rémi Verschelde 2019-08-13 08:27:44 +02:00 committed by GitHub
commit b7adb21f3b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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"]'])