-lexceptions.js #6794

This commit is contained in:
Thomas Krijnen
2025-06-11 16:45:06 +02:00
parent 60c71c145b
commit 2c0b1691ae
+1 -1
View File
@@ -479,7 +479,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"))
ADDITIONAL_ARGS.extend(("-sWASM_BIGINT", "-fwasm-exceptions", "-lexceptions.js"))
# If the linker supports GC sections, set it up to reduce binary file size
# -fPIC is required for the shared libraries to work