From 792c3ded352fa49c3b41e90f6cf7cb23e5f76fb1 Mon Sep 17 00:00:00 2001 From: Russell Keith-Magee Date: Tue, 29 Jul 2025 12:30:49 +0800 Subject: [PATCH] Use base_prefix, not prefix for iOS framework linking. --- mesonbuild/dependencies/python.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mesonbuild/dependencies/python.py b/mesonbuild/dependencies/python.py index 0ca9cef6a0e1..be8e62ba1e78 100644 --- a/mesonbuild/dependencies/python.py +++ b/mesonbuild/dependencies/python.py @@ -354,7 +354,7 @@ def __init__(self, name: str, environment: 'Environment', # `link_libpython` (which *shouldn't* be set, but just in case) if self.platform.startswith('ios-'): # iOS doesn't use link_libpython - it links with the *framework*. - self.link_args = ['-framework', 'Python', '-F', self.variables.get('prefix')] + self.link_args = ['-framework', 'Python', '-F', self.variables.get('base_prefix')] self.is_found = True elif self.link_libpython: # link args