diff options
author | Alon Zakai <alonzakai@gmail.com> | 2012-02-15 23:30:07 -0500 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2012-02-15 23:30:07 -0500 |
commit | e4a37fdb02452678fea08ee85c73180cbbd36e11 (patch) | |
tree | 48bb4046e2981a43c47c95f6c781be77ef9a154d | |
parent | 7d756357d7dec0009a9f0c603da0b95cf5a211f4 (diff) |
fix test_cases
-rwxr-xr-x | emcc | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -556,9 +556,8 @@ try: fix() # First, combine the bitcode files if there are several. We must also link if we have a singleton .a - suff = suffix(temp_files[0]) if len(input_files) + len(extra_files_to_link) > 1 or \ - (not (suff in BITCODE_SUFFIXES or suff in SHAREDLIB_SUFFIXES) and shared.Building.is_ar(temp_files[0])): + (not LEAVE_INPUTS_RAW and not (suffix(temp_files[0]) in BITCODE_SUFFIXES or suffix(temp_files[0]) in SHAREDLIB_SUFFIXES) and shared.Building.is_ar(temp_files[0])): linker_inputs = temp_files + extra_files_to_link if DEBUG: print >> sys.stderr, 'emcc: linking: ', linker_inputs shared.Building.link(linker_inputs, |