mirror of
https://github.com/Relintai/pandemonium_engine.git
synced 2024-12-18 09:56:50 +01:00
Add flag to disable weak symbols in ZSTD.
Weak symbols are currently broken in upstream emscripten. (cherry picked from commit 070bd87aaaf7a15ad9d2d839182f14d5c352153b)
This commit is contained in:
parent
f0a6bd5a31
commit
b99cb9343d
@ -195,6 +195,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…
Reference in New Issue
Block a user