summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHalton Huo <halton.huo@sun.com>2009-08-31 10:38:08 +0800
committerHalton Huo <halton.huo@sun.com>2009-08-31 10:38:08 +0800
commit3fb4496853a590f272e77ac98b7c23411cb4fa3d (patch)
tree4481b94cbba164739cd67b0700504c00a0d40811
parent1395da0e497bdc298aa321358de1c2812c2aa5f5 (diff)
downloadgobject-introspection-3fb4496853a590f272e77ac98b7c23411cb4fa3d.tar.gz
Use CC rather than LD to fix build issue for gir. Closes #593599.
-rw-r--r--giscanner/dumper.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/giscanner/dumper.py b/giscanner/dumper.py
index 0637e5cf..bd3029fc 100644
--- a/giscanner/dumper.py
+++ b/giscanner/dumper.py
@@ -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(