summaryrefslogtreecommitdiff
path: root/mesonbuild/dependencies/python.py
diff options
context:
space:
mode:
authorL. E. Segovia <amy@amyspark.me>2025-01-31 00:06:48 +0000
committerNirbheek Chauhan <nirbheek.chauhan@gmail.com>2025-02-04 08:16:23 +0530
commitf75e45887c86c8c73a38f387bd93467dda36df3c (patch)
tree8bd0f8f06fbbdd76f0197c65e944badd0af95dd9 /mesonbuild/dependencies/python.py
parentd34c37f8a02935945e3619cccc880f99e8ee96d2 (diff)
downloadmeson-f75e45887c86c8c73a38f387bd93467dda36df3c.tar.gz
Python: fix typo in the inserted workaround for missing RPATH
See #14169
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 f45b4f908..f7417717e 100644
--- a/mesonbuild/dependencies/python.py
+++ b/mesonbuild/dependencies/python.py
@@ -332,7 +332,7 @@ class PythonPkgConfigDependency(PkgConfigDependency, _PythonDependencyBase):
framework_prefix = self.variables['PYTHONFRAMEWORKPREFIX']
# Add rpath, will be de-duplicated if necessary
if framework_prefix.startswith('/Applications/Xcode.app/'):
- self.link_args += ['-rpath,' + framework_prefix]
+ self.link_args += ['-Wl,-rpath,' + framework_prefix]
class PythonFrameworkDependency(ExtraFrameworkDependency, _PythonDependencyBase):