summaryrefslogtreecommitdiff
path: root/mesonbuild/compilers/compilers.py
diff options
context:
space:
mode:
authorDylan Baker <dylan@pnwbakers.com>2025-11-12 14:38:24 -0800
committerDylan Baker <dylan@pnwbakers.com>2025-11-19 10:48:48 -0800
commit252faf5be8ffb23b5f335ebf10c7f1c3d3717ec5 (patch)
tree38a529c3e1f96f3c88d7e01cbe84af1e14727a5c /mesonbuild/compilers/compilers.py
parent52d77090cbabd109f24b46cf13f51543bda08a3f (diff)
downloadmeson-252faf5be8ffb23b5f335ebf10c7f1c3d3717ec5.tar.gz
compilers: Remove Environment parameter from Compiler.find_library
Diffstat (limited to 'mesonbuild/compilers/compilers.py')
-rw-r--r--mesonbuild/compilers/compilers.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/mesonbuild/compilers/compilers.py b/mesonbuild/compilers/compilers.py
index 4fbc5d764..2e66343a7 100644
--- a/mesonbuild/compilers/compilers.py
+++ b/mesonbuild/compilers/compilers.py
@@ -766,8 +766,8 @@ class Compiler(HoldableObject, metaclass=abc.ABCMeta):
"Always returns a copy that can be independently mutated"
return args.copy()
- def find_library(self, libname: str, env: 'Environment', extra_dirs: T.List[str],
- libtype: LibType = LibType.PREFER_SHARED, lib_prefix_warning: bool = True, ignore_system_dirs: bool = False) -> T.Optional[T.List[str]]:
+ def find_library(self, libname: str, extra_dirs: T.List[str], libtype: LibType = LibType.PREFER_SHARED,
+ lib_prefix_warning: bool = True, ignore_system_dirs: bool = False) -> T.Optional[T.List[str]]:
raise EnvironmentException(f'Language {self.get_display_language()} does not support library finding.')
def get_library_naming(self, libtype: LibType, strict: bool = False) -> T.Optional[T.Tuple[str, ...]]: