summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorColin Walters <walters@verbum.org>2010-10-22 11:28:40 -0400
committerColin Walters <walters@verbum.org>2010-10-22 11:29:57 -0400
commit404af5e1d854522df2b02db9f8805ce19f9e8b76 (patch)
tree471cc29babb474c5c4c27e232bd0735b31384323
parent3aa52816c50ed1610d93909b68b979c6853eeb0e (diff)
downloadgobject-introspection-404af5e1d854522df2b02db9f8805ce19f9e8b76.tar.gz
Handle CC="ccache gcc" for linker command too
The compiler path explicitly split()s the variable, we should do so in the linker path too.
-rw-r--r--giscanner/dumper.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/giscanner/dumper.py b/giscanner/dumper.py
index 773dec95..7462aa31 100644
--- a/giscanner/dumper.py
+++ b/giscanner/dumper.py
@@ -200,7 +200,8 @@ class DumpCompiler(object):
args.append('--tag=CC')
args.append('--silent')
- args.extend([self._linker_cmd, '-o', output])
+ args = self._linker_cmd.split()
+ args.extend(['-o', output])
if libtool:
args.append('-export-dynamic')