summaryrefslogtreecommitdiff
path: root/mesonbuild/dependencies/__init__.py
diff options
context:
space:
mode:
Diffstat (limited to 'mesonbuild/dependencies/__init__.py')
-rw-r--r--mesonbuild/dependencies/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/dependencies/__init__.py b/mesonbuild/dependencies/__init__.py
index 00548e3ae..abe83351e 100644
--- a/mesonbuild/dependencies/__init__.py
+++ b/mesonbuild/dependencies/__init__.py
@@ -78,7 +78,7 @@ class FooSystemDependency(ExternalDependency):
self.is_found = False
return
- lib = self.clib_compiler.find_library('foo', environment, [os.path.join(root, 'lib')])
+ lib = self.clib_compiler.find_library('foo', [os.path.join(root, 'lib')])
if lib is None:
mlog.debug('Could not find lib.')
self.is_found = False