diff options
| author | Dylan Baker <dylan@pnwbakers.com> | 2025-11-12 14:38:24 -0800 |
|---|---|---|
| committer | Dylan Baker <dylan@pnwbakers.com> | 2025-11-19 10:48:48 -0800 |
| commit | 252faf5be8ffb23b5f335ebf10c7f1c3d3717ec5 (patch) | |
| tree | 38a529c3e1f96f3c88d7e01cbe84af1e14727a5c /mesonbuild/compilers/cpp.py | |
| parent | 52d77090cbabd109f24b46cf13f51543bda08a3f (diff) | |
| download | meson-252faf5be8ffb23b5f335ebf10c7f1c3d3717ec5.tar.gz | |
compilers: Remove Environment parameter from Compiler.find_library
Diffstat (limited to 'mesonbuild/compilers/cpp.py')
| -rw-r--r-- | mesonbuild/compilers/cpp.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/compilers/cpp.py b/mesonbuild/compilers/cpp.py index 233a28b63..bd80f3974 100644 --- a/mesonbuild/compilers/cpp.py +++ b/mesonbuild/compilers/cpp.py @@ -206,7 +206,7 @@ class _StdCPPLibMixin(CompilerMixinBase): search_dirs = [f'-L{d}' for d in self.get_compiler_dirs(self.environment, 'libraries')] lib = self.language_stdlib_provider(self.environment) - if self.find_library(lib, self.environment, []) is not None: + if self.find_library(lib, []) is not None: return search_dirs + [f'-l{lib}'] # TODO: maybe a bug exception? |
