From 237513dffd0c946e0a284f484aef553dc75b7572 Mon Sep 17 00:00:00 2001 From: "L. E. Segovia" Date: Mon, 10 Feb 2025 15:47:39 -0300 Subject: modules/gnome, modules/Python: Allow injecting RPATH flags through LDFLAGS if needed Fixes communicating the RPATH to g-i-scanner in macOS. See #14169 --- mesonbuild/dependencies/python.py | 1 + 1 file changed, 1 insertion(+) (limited to 'mesonbuild/dependencies/python.py') 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): -- cgit v1.2.3