aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNuno Lopes <nunoplopes@sapo.pt>2008-08-10 22:17:57 +0000
committerNuno Lopes <nunoplopes@sapo.pt>2008-08-10 22:17:57 +0000
commitc46cf49229a5a3e2d10b776ece4f1c5378123de0 (patch)
treed6e4dfc0b8b1453001c2215bbb2c7d20c317732a
parent9a1844866b447b19291fd5df268a992e026171c4 (diff)
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
-rwxr-xr-xutils/ccc2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/ccc b/utils/ccc
index 43ded02716..d999d2bfc7 100755
--- 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)