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/dependencies/pkgconfig.py | |
| parent | 52d77090cbabd109f24b46cf13f51543bda08a3f (diff) | |
| download | meson-252faf5be8ffb23b5f335ebf10c7f1c3d3717ec5.tar.gz | |
compilers: Remove Environment parameter from Compiler.find_library
Diffstat (limited to 'mesonbuild/dependencies/pkgconfig.py')
| -rw-r--r-- | mesonbuild/dependencies/pkgconfig.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/mesonbuild/dependencies/pkgconfig.py b/mesonbuild/dependencies/pkgconfig.py index 326ecb1b4..b628e005b 100644 --- a/mesonbuild/dependencies/pkgconfig.py +++ b/mesonbuild/dependencies/pkgconfig.py @@ -488,9 +488,8 @@ class PkgConfigDependency(ExternalDependency): if lib in libs_found: continue if self.clib_compiler: - args = self.clib_compiler.find_library(lib[2:], self.env, - libpaths, self.libtype, - lib_prefix_warning=False) + args = self.clib_compiler.find_library( + lib[2:], libpaths, self.libtype, lib_prefix_warning=False) # If the project only uses a non-clib language such as D, Rust, # C#, Python, etc, all we can do is limp along by adding the # arguments as-is and then adding the libpaths at the end. |
