Skip to content

Commit dae7278

Browse files
committed
Use final_suffix to determine output type
1 parent 5bcb75e commit dae7278

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
@@ -827,7 +827,7 @@ def get_last_setting_change(setting):
827827

828828
# If not compiling to JS, then we are compiling to an intermediate bitcode objects or library, so
829829
# ignore dynamic linking, since multiple dynamic linkings can interfere with each other
830-
if filename_type_suffix(target) not in JS_CONTAINING_SUFFIXES or options.ignore_dynamic_linking:
830+
if final_suffix not in JS_CONTAINING_SUFFIXES or options.ignore_dynamic_linking:
831831
def check(input_file):
832832
if filename_type_ending(input_file) in DYNAMICLIB_ENDINGS:
833833
if not options.ignore_dynamic_linking: logging.warning('ignoring dynamic library %s because not compiling to JS or HTML, remember to link it when compiling to JS or HTML at the end', os.path.basename(input_file))

0 commit comments

Comments
 (0)