We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6c80e75 commit 42b0339Copy full SHA for 42b0339
1 file changed
emcc
@@ -808,7 +808,8 @@ try:
808
final_suffix = 'o'
809
810
# do not link in libs when just generating object code (not an 'executable', i.e. JS, or a library)
811
- if ('.' + final_suffix) in BITCODE_SUFFIXES:
+ if ('.' + final_suffix) in BITCODE_SUFFIXES and len(libs) > 0:
812
+ print >> sys.stderr, 'emcc: warning: not linking against libraries since only compiling to bitcode'
813
libs = []
814
815
# Find library files
0 commit comments