Pass in --tag=CC to libtool to avoid making libtool confused when CC is
authorJohan Dahlin <jdahlin@async.com.br>
Fri, 12 Dec 2008 18:29:55 +0000 (18:29 +0000)
committerJohan Dahlin <johan@src.gnome.org>
Fri, 12 Dec 2008 18:29:55 +0000 (18:29 +0000)
2008-12-12  Johan Dahlin  <jdahlin@async.com.br>

* giscanner/dumper.py (DumpCompiler._link): Pass in
--tag=CC to libtool to avoid making libtool confused
when CC is different from gcc on some systems.

svn path=/trunk/; revision=993

ChangeLog
giscanner/dumper.py

index b8fcee9..389c820 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2008-12-12  Johan Dahlin  <jdahlin@async.com.br>
+
+       * giscanner/dumper.py (DumpCompiler._link): Pass in
+       --tag=CC to libtool to avoid making libtool confused
+       when CC is different from gcc on some systems.
+
 2008-12-10  Johan Bilien  <jobi@via.ecp.fr>
 
        Bug 563998 – Cache the GIBaseInfo for GTypes
index 3ed5855..45dcc25 100644 (file)
@@ -170,6 +170,7 @@ class DumpCompiler(object):
         if libtool:
             args.extend(libtool)
             args.append('--mode=link')
+            args.append('--tag=CC')
 
         args.extend([self._linker_cmd, '-o', output])