[cfe-commits] r54623 - /cfe/trunk/utils/ccc

Nuno Lopes nunoplopes at sapo.pt
Sun Aug 10 15:17:58 PDT 2008


Author: nlopes
Date: Sun Aug 10 17:17:57 2008
New Revision: 54623

URL: http://llvm.org/viewvc/llvm-project?rev=54623&view=rev
Log:
fix linking with .so files specified in cmd line (this fixes some libtool usages)

Modified:
    cfe/trunk/utils/ccc

Modified: cfe/trunk/utils/ccc
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/utils/ccc?rev=54623&r1=54622&r2=54623&view=diff

==============================================================================
--- cfe/trunk/utils/ccc (original)
+++ cfe/trunk/utils/ccc Sun Aug 10 17:17:57 2008
@@ -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)





More information about the cfe-commits mailing list