aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEli Schwartz <eschwartz@archlinux.org>2021-10-03 19:27:04 -0400
committerDylan Baker <dylan@pnwbakers.com>2021-10-03 18:53:32 -0700
commitc6d74ac7e0890c323bd1190d5f5d3d938fc6d59a (patch)
tree5840563226a56270b7ad88583d1ea5b7d328a8ed
parent3c2cca56996e3ba60af5e2d9947947e49e46c6ad (diff)
downloadmeson-c6d74ac7e0890c323bd1190d5f5d3d938fc6d59a.zip
meson-c6d74ac7e0890c323bd1190d5f5d3d938fc6d59a.tar.gz
meson-c6d74ac7e0890c323bd1190d5f5d3d938fc6d59a.tar.bz2
fix typo in error message breaking newline escape
Broken in commit 3feaea6b29197cd224fbce0ac65fd43d08c3beac.
-rw-r--r--mesonbuild/linkers/detect.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/linkers/detect.py b/mesonbuild/linkers/detect.py
index b85acc6..183e4e8 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)