diff --git a/mesonbuild/dependencies/python.py b/mesonbuild/dependencies/python.py index 652947869b40..d2d9809dc591 100644 --- a/mesonbuild/dependencies/python.py +++ b/mesonbuild/dependencies/python.py @@ -527,7 +527,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