summaryrefslogtreecommitdiff
path: root/mesonbuild/dependencies/python.py
diff options
context:
space:
mode:
authorDylan Baker <dylan@pnwbakers.com>2025-11-13 09:26:44 -0800
committerDylan Baker <dylan@pnwbakers.com>2025-11-19 10:48:48 -0800
commit15e054e9c3eb685e250f3a472644454375f6d5c0 (patch)
tree0eae9f19d0cc2bb5daf3f1aa6ac00ef942fe92e3 /mesonbuild/dependencies/python.py
parent40b4151f33ea05f1f305f09831c24caa8a920a19 (diff)
downloadmeson-15e054e9c3eb685e250f3a472644454375f6d5c0.tar.gz
compilers: Remove Environment parameter from Compiler.has_header
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 93b915014..aa2e22c6f 100644
--- a/mesonbuild/dependencies/python.py
+++ b/mesonbuild/dependencies/python.py
@@ -556,7 +556,7 @@ class PythonSystemDependency(SystemDependency, _PythonDependencyBase):
if mesonlib.is_windows() and self.get_windows_python_arch().endswith('64') and mesonlib.version_compare(self.version, '<3.12'):
self.compile_args += ['-DMS_WIN64=']
- if not self.clib_compiler.has_header('Python.h', '', environment, extra_args=self.compile_args)[0]:
+ if not self.clib_compiler.has_header('Python.h', '', extra_args=self.compile_args)[0]:
self.is_found = False
@staticmethod