Skip to content

Commit 5aa5dd5

Browse files
authored
Merge pull request #22 from freakboy3742/numpy-ios-base-prefix
Use base_prefix, not prefix for iOS framework linking.
2 parents f754c42 + 792c3de commit 5aa5dd5

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
@@ -354,7 +354,7 @@ def __init__(self, name: str, environment: 'Environment',
354354
# `link_libpython` (which *shouldn't* be set, but just in case)
355355
if self.platform.startswith('ios-'):
356356
# iOS doesn't use link_libpython - it links with the *framework*.
357-
self.link_args = ['-framework', 'Python', '-F', self.variables.get('prefix')]
357+
self.link_args = ['-framework', 'Python', '-F', self.variables.get('base_prefix')]
358358
self.is_found = True
359359
elif self.link_libpython:
360360
# link args

0 commit comments

Comments
 (0)