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