mirror of
https://github.com/godotengine/godot.git
synced 2024-12-09 10:09:20 +08:00
Add cwrap to EXTRA_EXPORTED_RUNTIME_METHODS
This commit is contained in:
parent
866cad9767
commit
d2c34e83b5
@ -229,7 +229,7 @@ def configure(env):
|
||||
env.Append(LINKFLAGS=["-s", "OFFSCREEN_FRAMEBUFFER=1"])
|
||||
|
||||
# callMain for manual start.
|
||||
env.Append(LINKFLAGS=["-s", "EXTRA_EXPORTED_RUNTIME_METHODS=['callMain']"])
|
||||
env.Append(LINKFLAGS=["-s", "EXTRA_EXPORTED_RUNTIME_METHODS=['callMain','cwrap']"])
|
||||
|
||||
# Add code that allow exiting runtime.
|
||||
env.Append(LINKFLAGS=["-s", "EXIT_RUNTIME=1"])
|
||||
|
Loading…
Reference in New Issue
Block a user