forked from OSchip/llvm-project
fix linking with .so files specified in cmd line (this fixes some libtool usages)
llvm-svn: 54623
This commit is contained in:
parent
c14bcffda6
commit
d83be33cc0
|
@ -217,7 +217,7 @@ def main(args):
|
|||
if action == 'link':
|
||||
for i, file in enumerate(files):
|
||||
ext = extension(file)
|
||||
if ext != "o" and ext != "a":
|
||||
if ext != "o" and ext != "a" and ext != "so":
|
||||
out = changeextension(file, "o")
|
||||
args = ['-o', out, file] + compile_opts
|
||||
compile(args)
|
||||
|
|
Loading…
Reference in New Issue