diff options
| author | Dylan Baker <dylan@pnwbakers.com> | 2025-11-12 10:28:18 -0800 |
|---|---|---|
| committer | Dylan Baker <dylan@pnwbakers.com> | 2025-11-19 10:48:48 -0800 |
| commit | ca15ed8f73e6b8c0cad81bee119c5c099e066767 (patch) | |
| tree | a93c6627cbb7a67fcc1e2e4cf1c03a7ed35c790f /mesonbuild/compilers/compilers.py | |
| parent | a5c703c9e068366a6331b23227529fabd35e42cd (diff) | |
| download | meson-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.py | 8 |
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) |
