Skip to content

Commit 6f1a769

Browse files
committed
fix test
1 parent 9956024 commit 6f1a769

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tools/link.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1849,7 +1849,7 @@ def phase_link(linker_arguments, wasm_target, js_syms):
18491849
settings.EXPORT_IF_DEFINED = dedup_list(settings.EXPORT_IF_DEFINED)
18501850

18511851
rtn = None
1852-
if settings.LINKABLE:
1852+
if settings.LINKABLE and not settings.EXPORT_ALL:
18531853
# In LINKABLE mode we pass `--export-dynamic` along with `--whole-archive`. This results
18541854
# in over 7000 exports, which cannot be distinguished from the few symbols we explicitly
18551855
# export via EMSCRIPTEN_KEEPALIVE or EXPORTED_FUNCTIONS.

0 commit comments

Comments
 (0)