summaryrefslogtreecommitdiff
path: root/mesonbuild/dependencies
diff options
context:
space:
mode:
authorDylan Baker <dylan@pnwbakers.com>2025-11-03 09:04:39 -0800
committerDylan Baker <dylan@pnwbakers.com>2025-11-19 10:48:48 -0800
commit068cb9db2a07c665cb55f68a70f42bb2b773e720 (patch)
tree932b67c0a39a42e7425a2f363f5b0c3f59e99ae1 /mesonbuild/dependencies
parent67a49deb955a6a49b8f3155065e5f6bfecba42f2 (diff)
downloadmeson-068cb9db2a07c665cb55f68a70f42bb2b773e720.tar.gz
compilers: Remove Environment parameter from Compiler.find_framework
Which, ironically, is passed down three levels and never used.
Diffstat (limited to 'mesonbuild/dependencies')
-rw-r--r--mesonbuild/dependencies/framework.py2
-rw-r--r--mesonbuild/dependencies/platform.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/mesonbuild/dependencies/framework.py b/mesonbuild/dependencies/framework.py
index b0a26b30a..a23b4a66b 100644
--- a/mesonbuild/dependencies/framework.py
+++ b/mesonbuild/dependencies/framework.py
@@ -56,7 +56,7 @@ class ExtraFrameworkDependency(ExternalDependency):
# Python.framework. We need to know for sure that the framework was
# found in the path we expect.
allow_system = p in self.system_framework_paths
- args = self.clib_compiler.find_framework(framework_name, self.env, [p], allow_system)
+ args = self.clib_compiler.find_framework(framework_name, [p], allow_system)
if args is None:
continue
self.link_args = args
diff --git a/mesonbuild/dependencies/platform.py b/mesonbuild/dependencies/platform.py
index 29631576a..49ec980b2 100644
--- a/mesonbuild/dependencies/platform.py
+++ b/mesonbuild/dependencies/platform.py
@@ -26,7 +26,7 @@ class AppleFrameworks(ExternalDependency):
self.is_found = True
for f in self.frameworks:
try:
- args = self.clib_compiler.find_framework(f, env, [])
+ args = self.clib_compiler.find_framework(f, [])
except MesonException as e:
if 'non-clang' in str(e):
self.is_found = False