diff options
author | Alon Zakai <alonzakai@gmail.com> | 2012-01-04 18:14:18 -0800 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2012-01-04 18:14:18 -0800 |
commit | 91cebac30bd969b32484044ad65f3064d4375047 (patch) | |
tree | 2b5540c2c81d154be0ca82a5fa8d35958dee142b /emcc | |
parent | 20d84c111a3c80f3348c0c7c9e8a01fc59e3bcfc (diff) |
fix bug with not creating proper bitcode output with proper file name when emcc is given -o js
Diffstat (limited to 'emcc')
-rwxr-xr-x | emcc | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -360,7 +360,10 @@ try: assert has_source_inputs, 'Must have source code inputs to use -c' target = target_basename + '.o' - final_suffix = target.split('.')[-1] + if '.' in target: + final_suffix = target.split('.')[-1] + else: + final_suffix = '' # Apply optimization level settings shared.Settings.apply_opt_level(opt_level, noisy=True) |