summaryrefslogtreecommitdiff
path: root/mesonbuild/dependencies/python.py
diff options
context:
space:
mode:
Diffstat (limited to 'mesonbuild/dependencies/python.py')
-rw-r--r--mesonbuild/dependencies/python.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/dependencies/python.py b/mesonbuild/dependencies/python.py
index c204a5197..93b915014 100644
--- a/mesonbuild/dependencies/python.py
+++ b/mesonbuild/dependencies/python.py
@@ -325,7 +325,7 @@ class _PythonDependencyBase(_Base):
libname += self.variables['ABIFLAGS']
libdirs = []
- largs = self.clib_compiler.find_library(libname, environment, libdirs)
+ largs = self.clib_compiler.find_library(libname, libdirs)
if largs is not None:
self.link_args = largs
self.is_found = True