Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

modules/gnome, modules/Python: Allow injecting RPATH flags through LDFLAGS if needed #14238

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

amyspark
Copy link
Contributor

Fixes communicating the RPATH to g-i-scanner in macOS.

See #14169

cc @nirbheek

@amyspark amyspark requested a review from jpakkane as a code owner February 11, 2025 11:13
@amyspark amyspark force-pushed the fix-rpath-passing-giscanner-macos branch from bd23d47 to d6d8b18 Compare February 11, 2025 11:17
@nirbheek
Copy link
Member

Would be great to have a test. You could modify test cases/frameworks/7 gnome, perhaps. If you need to inspect the output to check that the LC_RPATH is set, you could add a unit test: unittests/darwintests.py.

@amyspark
Copy link
Contributor Author

Added a test for the former (it's a bit noisy, as I needed to add MSVC compatibility; let me know if that's needed or if it can be removed).

For the changes re: RPATH, darwintests.py is not effective for this corner case; the flags need to pass through the GNOME module's filtering. The GNOME-less case is already covered in the unittests-appleclang job.

mesonbuild/modules/gnome.py Outdated Show resolved Hide resolved
…FLAGS if needed

Fixes communicating the RPATH to g-i-scanner in macOS.

See mesonbuild#14169
This is necessary for the upcoming modification to check Python bindings.
@amyspark amyspark force-pushed the fix-rpath-passing-giscanner-macos branch from 995bb68 to 5f8546d Compare February 12, 2025 00:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants