1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-04 12:00:25 +00:00

Merge pull request #107415 from adamscott/add-emscripten-version-to-log-header

[Web] Add Web-build specific stdout header
This commit is contained in:
Rémi Verschelde
2025-06-13 18:37:37 +02:00
9 changed files with 101 additions and 5 deletions

View File

@@ -276,6 +276,7 @@ def configure(env: "SConsEnvironment"):
print_warning("GDExtension support requires proxy_to_pthread=no, disabling proxy to pthread.")
env["proxy_to_pthread"] = False
env.Append(CPPDEFINES=["WEB_DLINK_ENABLED"])
env.Append(CCFLAGS=["-sSIDE_MODULE=2"])
env.Append(LINKFLAGS=["-sSIDE_MODULE=2"])
env.Append(CCFLAGS=["-fvisibility=hidden"])