]> granicus.if.org Git - clang/commitdiff
fix linking with .so files specified in cmd line (this fixes some libtool usages)
authorNuno Lopes <nunoplopes@sapo.pt>
Sun, 10 Aug 2008 22:17:57 +0000 (22:17 +0000)
committerNuno Lopes <nunoplopes@sapo.pt>
Sun, 10 Aug 2008 22:17:57 +0000 (22:17 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@54623 91177308-0d34-0410-b5e6-96231b3b80d8

utils/ccc

index 43ded02716808e25690d47b448c362553a85c667..d999d2bfc79b1b92ed8bd89ec7dc4eabcd6085f1 100755 (executable)
--- a/utils/ccc
+++ b/utils/ccc
@@ -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)