aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/linkers
diff options
context:
space:
mode:
authorTristan Partin <tristan@partin.io>2023-07-12 17:56:18 -0500
committerTristan Partin <tristan@partin.io>2023-07-12 18:56:06 -0500
commit33c8362a1cdd57dd60c7be8fdf3b0566ccdeb3bf (patch)
tree441f9e319ee99b27bc1c051e204923cf57488892 /mesonbuild/linkers
parentdc692d98fc48f8d5c6ea528adc6dce481412b02f (diff)
downloadmeson-33c8362a1cdd57dd60c7be8fdf3b0566ccdeb3bf.zip
meson-33c8362a1cdd57dd60c7be8fdf3b0566ccdeb3bf.tar.gz
meson-33c8362a1cdd57dd60c7be8fdf3b0566ccdeb3bf.tar.bz2
Match the method signatures of parent classes
Names and types of some methods did not match their parent methods.
Diffstat (limited to 'mesonbuild/linkers')
-rw-r--r--mesonbuild/linkers/linkers.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/mesonbuild/linkers/linkers.py b/mesonbuild/linkers/linkers.py
index 8675766..609308b 100644
--- a/mesonbuild/linkers/linkers.py
+++ b/mesonbuild/linkers/linkers.py
@@ -479,7 +479,7 @@ class DynamicLinker(metaclass=abc.ABCMeta):
f'Linker {self.id} does not support allow undefined')
@abc.abstractmethod
- def get_output_args(self, outname: str) -> T.List[str]:
+ def get_output_args(self, outputname: str) -> T.List[str]:
pass
def get_coverage_args(self) -> T.List[str]:
@@ -560,8 +560,8 @@ class PosixDynamicLinkerMixin:
GNU-like that it makes sense to split this out.
"""
- def get_output_args(self, outname: str) -> T.List[str]:
- return ['-o', outname]
+ def get_output_args(self, outputname: str) -> T.List[str]:
+ return ['-o', outputname]
def get_std_shared_lib_args(self) -> T.List[str]:
return ['-shared']
@@ -1596,8 +1596,8 @@ class MetrowerksLinker(DynamicLinker):
def get_linker_always_args(self) -> T.List[str]:
return []
- def get_output_args(self, target: str) -> T.List[str]:
- return ['-o', target]
+ def get_output_args(self, outputname: str) -> T.List[str]:
+ return ['-o', outputname]
def get_search_args(self, dirname: str) -> T.List[str]:
return self._apply_prefix('-L' + dirname)