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

Improve libs-only option #443

Merged
merged 3 commits into from
May 15, 2024
Merged

Conversation

michaelolbrich
Copy link
Contributor

Summary

This enables the polkit-agent-1 library for libs-only builds and skips the expat dependency when it is not needed.

Some packages, e.g. udisks2, need libpolkit-agent-1 at build-time as
well, so enable it for the libs-only build.

This is useful, for embedded use-cases where everything is built from
souce and polkit is not actually used at runtime.
So remove it from the dependency list.
expat is only used in the daemon to parse policy files.
@michaelolbrich
Copy link
Contributor Author

The test failure seems unrelated:

  ../meson.build:1:0: ERROR: Meson version is 0.61.2 but project requires >= 0.63.0

This pull request does not change the meson version.

@jrybar-rh jrybar-rh merged commit aae64f4 into polkit-org:main May 15, 2024
12 of 13 checks passed
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.

2 participants