summaryrefslogtreecommitdiff
path: root/mesonbuild/compilers/compilers.py
diff options
context:
space:
mode:
authorDylan Baker <dylan@pnwbakers.com>2025-11-12 10:28:18 -0800
committerDylan Baker <dylan@pnwbakers.com>2025-11-19 10:48:48 -0800
commitca15ed8f73e6b8c0cad81bee119c5c099e066767 (patch)
treea93c6627cbb7a67fcc1e2e4cf1c03a7ed35c790f /mesonbuild/compilers/compilers.py
parenta5c703c9e068366a6331b23227529fabd35e42cd (diff)
downloadmeson-ca15ed8f73e6b8c0cad81bee119c5c099e066767.tar.gz
compilers: Remove Environment parameter from Compiler.build_rpath_args
Diffstat (limited to 'mesonbuild/compilers/compilers.py')
-rw-r--r--mesonbuild/compilers/compilers.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/mesonbuild/compilers/compilers.py b/mesonbuild/compilers/compilers.py
index e9446b3b8..007f44fcd 100644
--- a/mesonbuild/compilers/compilers.py
+++ b/mesonbuild/compilers/compilers.py
@@ -951,10 +951,10 @@ class Compiler(HoldableObject, metaclass=abc.ABCMeta):
"""
return None
- def build_rpath_args(self, env: Environment, build_dir: str, from_dir: str,
- target: BuildTarget, extra_paths: T.Optional[T.List[str]] = None) -> T.Tuple[T.List[str], T.Set[bytes]]:
- return self.linker.build_rpath_args(
- env, build_dir, from_dir, target, extra_paths)
+ def build_rpath_args(self, build_dir: str, from_dir: str, target: BuildTarget,
+ extra_paths: T.Optional[T.List[str]] = None
+ ) -> T.Tuple[T.List[str], T.Set[bytes]]:
+ return self.linker.build_rpath_args(build_dir, from_dir, target, extra_paths)
def get_archive_name(self, filename: str) -> str:
return self.linker.get_archive_name(filename)