Differentiate message between dynamic linker and archiver

Currently both print `Detecting linker via`, which can be confusing.
Clarifying this by printing "archiver" instead of "linker" for the
static linker/archiver
pull/12788/head
Dylan Baker 10 months ago committed by Eli Schwartz
parent 6e381714c7
commit 314d9f0c74
  1. 2
      mesonbuild/compilers/detect.py

@ -197,7 +197,7 @@ def detect_static_linker(env: 'Environment', compiler: Compiler) -> StaticLinker
else:
arg = '--version'
try:
p, out, err = Popen_safe_logged(linker + [arg], msg='Detecting linker via')
p, out, err = Popen_safe_logged(linker + [arg], msg='Detecting archiver via')
except OSError as e:
popen_exceptions[join_args(linker + [arg])] = e
continue

Loading…
Cancel
Save