Use CC rather than LD to fix build issue for gir. Closes #593599.
authorHalton Huo <halton.huo@sun.com>
Mon, 31 Aug 2009 02:38:08 +0000 (10:38 +0800)
committerHalton Huo <halton.huo@sun.com>
Mon, 31 Aug 2009 02:38:08 +0000 (10:38 +0800)
giscanner/dumper.py

index 0637e5c..bd3029f 100644 (file)
@@ -82,7 +82,7 @@ class DumpCompiler(object):
         self._tmpdir = tempfile.mkdtemp('', 'tmp-introspect', dir=os.getcwd())
 
         self._compiler_cmd = os.environ.get('CC', 'gcc')
-        self._linker_cmd = os.environ.get('LD', self._compiler_cmd)
+        self._linker_cmd = os.environ.get('CC', self._compiler_cmd)
         self._pkgconfig_cmd = os.environ.get('PKG_CONFIG', 'pkg-config')
 
         self._uninst_srcdir = os.environ.get(