[gobject-introspection] Use the defined compiler when invoking libtool Closes: https://gitlab.gnome.org/GNOME/gobject-intros



commit 399afe04f7e59371e48544a0efb290e028c72756
Author: David Demelier <markand malikania fr>
Date:   Wed Aug 7 16:27:29 2019 +0200

    Use the defined compiler when invoking libtool
    Closes: https://gitlab.gnome.org/GNOME/gobject-introspection/issues/303

 giscanner/dumper.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
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
 


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