You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-05 12:10:55 +00:00
[JS] Add flag to disable weak symbols in ZSTD.
Weak symbols are currently broken in upstream emscripten.
(cherry picked from commit 070bd87aaa)
This commit is contained in:
committed by
Rémi Verschelde
parent
89c8a8d1dc
commit
cc12c69ea1
@@ -201,6 +201,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).
|
||||
|
||||
Reference in New Issue
Block a user