Skip to content

Commit 4df6589

Browse files
committed
Merge pull request emscripten-core#735 from eclecticdave/emcc_so_fix
Fixes to emcc to make autoconf enable shared objs
2 parents 4d7c5e7 + 5d48629 commit 4df6589

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

emcc

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -374,10 +374,12 @@ or LLVM assembly files in human-readable form.
374374
emcc is affected by several environment variables. For details, view
375375
the source of emcc (search for 'os.environ').
376376
377+
emcc: supported targets: llvm bitcode, javascript, NOT elf
378+
(autoconf likes to see elf above to enable shared object support)
377379
''' % (this, this, this)
378380
exit(0)
379381
elif len(sys.argv) == 2 and sys.argv[1] == '-v': # -v with no inputs
380-
print 'emcc (Emscripten GCC-like replacement) 2.0'
382+
print 'emcc (Emscripten GCC-like replacement + linker emulating GNU ld ) 2.0'
381383
exit(subprocess.call([shared.CLANG, '-v']))
382384

383385
def is_minus_s_for_emcc(newargs,i):

0 commit comments

Comments
 (0)