From c6d74ac7e0890c323bd1190d5f5d3d938fc6d59a Mon Sep 17 00:00:00 2001 From: Eli Schwartz Date: Sun, 3 Oct 2021 19:27:04 -0400 Subject: [PATCH] fix typo in error message breaking newline escape Broken in commit 3feaea6b29197cd224fbce0ac65fd43d08c3beac. --- mesonbuild/linkers/detect.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mesonbuild/linkers/detect.py b/mesonbuild/linkers/detect.py index b85acc67f..183e4e88b 100644 --- a/mesonbuild/linkers/detect.py +++ b/mesonbuild/linkers/detect.py @@ -118,7 +118,7 @@ def guess_win_linker(env: 'Environment', compiler: T.List[str], comp_class: T.Ty import shutil fullpath = shutil.which(compiler[0]) raise EnvironmentException( - f"Found GNU link.exe instead of MSVC link.exe in {fullpath}\.n" + f"Found GNU link.exe instead of MSVC link.exe in {fullpath}.\n" "This link.exe is not a linker.\n" "You may need to reorder entries to your %PATH% variable to resolve this.") __failed_to_detect_linker(compiler, check_args, o, e)