WASM build changes

This commit is contained in:
Thomas Krijnen
2025-06-14 18:05:29 +02:00
parent 5e7893dbb3
commit b486b32c8d
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -487,7 +487,7 @@ if platform.system() == "Darwin":
ADDITIONAL_ARGS = [f"-mmacosx-version-min={TOOLSET}"] + ADDITIONAL_ARGS
if "wasm" in flags:
ADDITIONAL_ARGS.extend(("-sWASM_BIGINT", "-fwasm-exceptions", "-lexceptions.js"))
ADDITIONAL_ARGS.extend(("-sWASM_BIGINT", "-fwasm-exceptions", "-sSUPPORT_LONGJMP"))
# If the linker supports GC sections, set it up to reduce binary file size
# -fPIC is required for the shared libraries to work