From 81d9acab8744d5fbd067cfad0723975b694101f0 Mon Sep 17 00:00:00 2001 From: Andrea Pappacoda Date: Tue, 6 Jul 2021 17:41:54 +0200 Subject: Fix unsupported linker error message An `f` was dropped in bd6f46e723813dfadaba1f7c87d3b0b751d05219 --- mesonbuild/compilers/mixins/gnu.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mesonbuild/compilers/mixins/gnu.py b/mesonbuild/compilers/mixins/gnu.py index 5d915f3..bc40af4 100644 --- a/mesonbuild/compilers/mixins/gnu.py +++ b/mesonbuild/compilers/mixins/gnu.py @@ -316,7 +316,7 @@ class GnuLikeCompiler(Compiler, metaclass=abc.ABCMeta): def use_linker_args(cls, linker: str) -> T.List[str]: if linker not in {'gold', 'bfd', 'lld'}: raise mesonlib.MesonException( - 'Unsupported linker, only bfd, gold, and lld are supported, not {linker}.') + f'Unsupported linker, only bfd, gold, and lld are supported, not {linker}.') return [f'-fuse-ld={linker}'] def get_coverage_args(self) -> T.List[str]: -- cgit v1.1