Interpreter: display linker executable path, if available

Instead of only displaying the identifier of the linker, display also the path
to the executable in order to report useful information when cross-compiling.
pull/6206/head
Eric Le Bihan 5 years ago committed by Jussi Pakkanen
parent 815563841a
commit 24cdb4a92f
  1. 2
      mesonbuild/interpreter.py

@ -2857,7 +2857,7 @@ external dependencies (including libraries) must go to "dependencies".''')
mlog.bold(' '.join(comp.get_exelist())), comp.get_version_string())
if comp.linker is not None:
logger_fun(comp.get_display_language(), 'linker for the', machine_name, 'machine:',
mlog.bold(comp.linker.id), comp.linker.version)
mlog.bold(' '.join(comp.linker.get_exelist())), comp.linker.id, comp.linker.version)
self.build.ensure_static_linker(comp)
langs = self.coredata.compilers[for_machine].keys()

Loading…
Cancel
Save