mirror of
https://github.com/godotengine/godot.git
synced 2025-10-19 16:03:29 +00:00
[JS] Add flag to disable weak symbols in ZSTD.
Weak symbols are currently broken in upstream emscripten.
This commit is contained in:
parent
a4c3e915be
commit
070bd87aaa
1 changed files with 2 additions and 0 deletions
|
@ -212,6 +212,8 @@ def configure(env):
|
|||
sys.exit(255)
|
||||
env.Append(CCFLAGS=["-s", "RELOCATABLE=1"])
|
||||
env.Append(LINKFLAGS=["-s", "RELOCATABLE=1"])
|
||||
# Weak symbols are broken upstream: https://github.com/emscripten-core/emscripten/issues/12819
|
||||
env.Append(CPPDEFINES=["ZSTD_HAVE_WEAK_SYMBOLS=0"])
|
||||
env.extra_suffix = ".gdnative" + env.extra_suffix
|
||||
|
||||
# Reduce code size by generating less support code (e.g. skip NodeJS support).
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue