summaryrefslogtreecommitdiff
path: root/mesonbuild/dependencies/python.py
diff options
context:
space:
mode:
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 652947869..d2d9809dc 100644
--- a/mesonbuild/dependencies/python.py
+++ b/mesonbuild/dependencies/python.py
@@ -527,7 +527,7 @@ class PythonSystemDependency(SystemDependency, _PythonDependencyBase):
# `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