summaryrefslogtreecommitdiff
path: root/giscanner/dumper.py
diff options
context:
space:
mode:
authorDavid Demelier <markand@malikania.fr>2019-08-07 16:27:29 +0200
committerChristoph Reiter <reiter.christoph@gmail.com>2019-08-08 17:37:55 +0000
commit399afe04f7e59371e48544a0efb290e028c72756 (patch)
treea93ba79d2bf89165558cad9915582934b2defff0 /giscanner/dumper.py
parentc51d15d81a6ecc29ab24476cad44aa198b0ba0df (diff)
downloadgobject-introspection-399afe04f7e59371e48544a0efb290e028c72756.tar.gz
Use the defined compiler when invoking libtool
Closes: https://gitlab.gnome.org/GNOME/gobject-introspection/issues/303
Diffstat (limited to 'giscanner/dumper.py')
-rw-r--r--giscanner/dumper.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/giscanner/dumper.py b/giscanner/dumper.py
index 2b851a53..abf2150e 100644
--- a/giscanner/dumper.py
+++ b/giscanner/dumper.py
@@ -94,7 +94,7 @@ class DumpCompiler(object):
if self._compiler.check_is_msvc():
self._linker_cmd = ['link.exe']
else:
- self._linker_cmd = shlex.split(os.environ.get('CC', 'cc'))
+ self._linker_cmd = self._compiler.compiler.linker_exe
# Public API