From 303916dd5c8a5019c8f982c08d7d77d733a29f1b Mon Sep 17 00:00:00 2001 From: meator Date: Mon, 9 Dec 2024 20:04:36 +0100 Subject: [PATCH] compiler: fix leftover chars in compiler.links() 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. --- mesonbuild/interpreter/compiler.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mesonbuild/interpreter/compiler.py b/mesonbuild/interpreter/compiler.py index 90514446bb12..6f52c0e07ecc 100644 --- a/mesonbuild/interpreter/compiler.py +++ b/mesonbuild/interpreter/compiler.py @@ -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,