summaryrefslogtreecommitdiff
path: root/mesonbuild/dependencies/python.py
diff options
context:
space:
mode:
authorL. E. Segovia <amy@amyspark.me>2025-02-10 15:47:39 -0300
committerNirbheek Chauhan <nirbheek.chauhan@gmail.com>2025-04-09 18:09:57 +0530
commit237513dffd0c946e0a284f484aef553dc75b7572 (patch)
tree93179cff40dbb9a0f8de736d573d27583ef16451 /mesonbuild/dependencies/python.py
parentaa8f9229fc76e5d89da04495f3b188f4438de32e (diff)
downloadmeson-237513dffd0c946e0a284f484aef553dc75b7572.tar.gz
modules/gnome, modules/Python: Allow injecting RPATH flags through LDFLAGS if needed
Fixes communicating the RPATH to g-i-scanner in macOS. See #14169
Diffstat (limited to 'mesonbuild/dependencies/python.py')
-rw-r--r--mesonbuild/dependencies/python.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/mesonbuild/dependencies/python.py b/mesonbuild/dependencies/python.py
index ca02d6743..3dab31c12 100644
--- a/mesonbuild/dependencies/python.py
+++ b/mesonbuild/dependencies/python.py
@@ -333,6 +333,7 @@ class PythonPkgConfigDependency(PkgConfigDependency, _PythonDependencyBase):
# Add rpath, will be de-duplicated if necessary
if framework_prefix.startswith('/Applications/Xcode.app/'):
self.link_args += ['-Wl,-rpath,' + framework_prefix]
+ self.raw_link_args += ['-Wl,-rpath,' + framework_prefix]
class PythonFrameworkDependency(ExtraFrameworkDependency, _PythonDependencyBase):