fix linking with .so files specified in cmd line (this fixes some libtool usages)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@54623 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/utils/ccc b/utils/ccc
index 43ded02..d999d2b 100755
--- a/utils/ccc
+++ b/utils/ccc
@@ -217,7 +217,7 @@
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)