fix linking with .so files specified in cmd line (this fixes some libtool usages)

llvm-svn: 54623
This commit is contained in:
Nuno Lopes 2008-08-10 22:17:57 +00:00
parent c14bcffda6
commit d83be33cc0
1 changed files with 1 additions and 1 deletions

View File

@ -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)