[gobject-introspection] Handle CC="ccache gcc" for linker command too



commit 404af5e1d854522df2b02db9f8805ce19f9e8b76
Author: Colin Walters <walters verbum org>
Date:   Fri Oct 22 11:28:40 2010 -0400

    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.

 giscanner/dumper.py |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/giscanner/dumper.py b/giscanner/dumper.py
index 773dec9..7462aa3 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')
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]