diff options
author | Alon Zakai <alonzakai@gmail.com> | 2012-12-11 14:01:06 -0800 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2012-12-11 14:01:06 -0800 |
commit | c83b1d4e9ef4525c35adbbf5a697aa46418bb7f1 (patch) | |
tree | 2172c7cacd15592c2210d26a87da8d21565f06be /emcc | |
parent | d9e1837c619bc70f9424489787ca80766c998789 (diff) | |
parent | 42b03394eb80db5183d2eb8c2c22b587cd85794e (diff) |
Merge branch 'incoming' into asm_js
Diffstat (limited to 'emcc')
-rwxr-xr-x | emcc | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -806,7 +806,8 @@ try: final_suffix = 'o' # do not link in libs when just generating object code (not an 'executable', i.e. JS, or a library) - if ('.' + final_suffix) in BITCODE_SUFFIXES: + if ('.' + final_suffix) in BITCODE_SUFFIXES and len(libs) > 0: + print >> sys.stderr, 'emcc: warning: not linking against libraries since only compiling to bitcode' libs = [] # Find library files |