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

Refactor config.h #454

Merged
merged 2 commits into from
Jun 26, 2024
Merged

Refactor config.h #454

merged 2 commits into from
Jun 26, 2024

Conversation

notpeelz
Copy link
Contributor

I simplified the handling of config.h.
Instead of having #include "config.h" in every file, we can use the compiler's -include option to do that for us.

I had to bump the meson version requirement to >=1.4.0 to use the file.full_path() API.

meson.build Outdated Show resolved Hide resolved
src/programs/pkexec.c Show resolved Hide resolved
@jrybar-rh jrybar-rh merged commit d920c22 into polkit-org:main Jun 26, 2024
32 checks passed
@notpeelz notpeelz deleted the refactor-config-h branch June 26, 2024 16:59
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