Skip to content

modules/pkg-config: Add support for Cflags.private #14829

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

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

Conversation

lb90
Copy link
Contributor

@lb90 lb90 commented Jul 22, 2025

Fixes #14749

It's not necessary as we have "common/44 pkgconfig-gen"
already.
@lb90 lb90 requested review from xclaesse and jpakkane as code owners July 22, 2025 07:39
Port commit fde514c
to test cases/common/44 pkgconfig-gen.
@lb90 lb90 force-pushed the pkg-config-cflags-private branch from 986c21b to 8f62ce3 Compare July 22, 2025 07:55
Cflags.private are compiler flags which are retrieved by pkg-config
when static linking is requested.

Currently, not all pkg-config implementations support Cflags.private;
FreeDesktop.Org's pkg-config doesn't support it [1], but pkgconf does.

Fixes mesonbuild#14749

[1] https://gitlab.freedesktop.org/pkg-config/pkg-config/-/issues/38
@lb90 lb90 force-pushed the pkg-config-cflags-private branch from 8f62ce3 to 54a8b38 Compare July 22, 2025 08:00
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.

Add support for Cflags.private to pkg-config module
1 participant