Skip to content

Commit

Permalink
Differentiate message between dynamic linker and archiver
Browse files Browse the repository at this point in the history
Currently both print `Detecting linker via`, which can be confusing.
Clarifying this by printing "archiver" instead of "linker" for the
static linker/archiver
  • Loading branch information
dcbaker authored and eli-schwartz committed Jan 26, 2024
1 parent 6e38171 commit 314d9f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mesonbuild/compilers/detect.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 314d9f0

Please sign in to comment.