summaryrefslogtreecommitdiff
path: root/mesonbuild/compilers/mixins/islinker.py
diff options
context:
space:
mode:
Diffstat (limited to 'mesonbuild/compilers/mixins/islinker.py')
-rw-r--r--mesonbuild/compilers/mixins/islinker.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/mesonbuild/compilers/mixins/islinker.py b/mesonbuild/compilers/mixins/islinker.py
index 298d47ff0..eb271f628 100644
--- a/mesonbuild/compilers/mixins/islinker.py
+++ b/mesonbuild/compilers/mixins/islinker.py
@@ -83,11 +83,11 @@ class BasicLinkerIsCompilerMixin(Compiler):
def get_link_whole_for(self, args: T.List[str]) -> T.List[str]:
raise mesonlib.EnvironmentException(
- 'Linker {} does not support link_whole'.format(self.id))
+ f'Linker {self.id} does not support link_whole')
def get_allow_undefined_link_args(self) -> T.List[str]:
raise mesonlib.EnvironmentException(
- 'Linker {} does not support allow undefined'.format(self.id))
+ f'Linker {self.id} does not support allow undefined')
def get_pie_link_args(self) -> T.List[str]:
m = 'Linker {} does not support position-independent executable'