diff options
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. |
