Skip to content

Commit

Permalink
compiler: fix leftover chars in compiler.links()
Browse files Browse the repository at this point in the history
The following log output:

Checking if "strnstr() available" : links: NO

now becomes:

Checking if "strnstr() available" links: NO

This is more consistent with the compiles() method.
  • Loading branch information
meator authored and dcbaker committed Dec 19, 2024
1 parent 6eac015 commit 303916d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mesonbuild/interpreter/compiler.py
Original file line number Diff line number Diff line change
Expand Up @@ -587,7 +587,7 @@ def links_method(self, args: T.Tuple['mesonlib.FileOrString'], kwargs: 'CompileK
compiler = clist[SUFFIX_TO_LANG[suffix]]

extra_args = functools.partial(self._determine_args, kwargs)
deps, msg = self._determine_dependencies(kwargs['dependencies'], compile_only=False)
deps, msg = self._determine_dependencies(kwargs['dependencies'], compile_only=False, endl=None)
result, cached = self.compiler.links(code, self.environment,
compiler=compiler,
extra_args=extra_args,
Expand Down

0 comments on commit 303916d

Please sign in to comment.