Skip to content

Commit 9839162

Browse files
authored
Fix breakage two changes that landed at the same time. NFC (#13989)
See #13972 #13974
1 parent c18efd7 commit 9839162

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

emcc.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -660,7 +660,7 @@ def process_dynamic_libs(dylibs):
660660
logger.debug('Adding exports based on `%s`: %s', dylib, new_exports)
661661
settings.EXPORTED_FUNCTIONS.extend(shared.asmjs_mangle(e) for e in new_exports)
662662
settings.DEFAULT_LIBRARY_FUNCS_TO_INCLUDE.extend(new_exports)
663-
building.user_requested_exports.extend(shared.asmjs_mangle(e) for e in new_exports)
663+
building.user_requested_exports.update(shared.asmjs_mangle(e) for e in new_exports)
664664

665665
exports = webassembly.get_exports(dylib)
666666
for export in exports:

0 commit comments

Comments
 (0)