Skip to content

Commit 979aac1

Browse files
committed
Use base_prefix, not prefix for iOS framework linking.
1 parent e501a22 commit 979aac1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mesonbuild/dependencies/python.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -357,7 +357,7 @@ def __init__(self, name: str, environment: 'Environment',
357357
# `link_libpython` (which *shouldn't* be set, but just in case)
358358
if self.platform.startswith('ios-'):
359359
# iOS doesn't use link_libpython - it links with the *framework*.
360-
self.link_args = ['-framework', 'Python', '-F', self.variables.get('prefix')]
360+
self.link_args = ['-framework', 'Python', '-F', self.variables.get('base_prefix')]
361361
self.is_found = True
362362
elif self.link_libpython:
363363
# link args

0 commit comments

Comments
 (0)