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

[enhancement]: Allow to specify PKG_CONFIG in build #6099

Open
alexandrebrg opened this issue Mar 17, 2025 · 0 comments · May be fixed by #6118
Open

[enhancement]: Allow to specify PKG_CONFIG in build #6099

alexandrebrg opened this issue Mar 17, 2025 · 0 comments · May be fixed by #6118
Labels
enhancement New feature or request new An issue that still needs triage

Comments

@alexandrebrg
Copy link

alexandrebrg commented Mar 17, 2025

Enhancement

👋

We've been adding a build for cloud init on exherbo, we've stubbled an issue with pkg-config usage. Some systems might want to build for multi-arch in their package manager, and for this, they use different pkg-config location (there are other reasons like sandboxing...). It is done without being specified in PATH to prevent wrong usage of this command, in exherbo's case.

This issue requests to considerate PKG_CONFIG environment variable as an override of the default pkg-config cloud-init build system is using.

The project seems to only usage pkg-config in setup_utils.py.

@alexandrebrg alexandrebrg added enhancement New feature or request new An issue that still needs triage labels Mar 17, 2025
alexandrebrg added a commit to alexandrebrg/cloud-init that referenced this issue Mar 24, 2025
This commit adds the possibility to specify a custom pkg-config binary path
in build scripts using the PKG_CONFIG environment variable. Packages
managers might use different pkg-config depending on the target platform.

Fixes canonicalGH-6099
@alexandrebrg alexandrebrg linked a pull request Mar 24, 2025 that will close this issue
2 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request new An issue that still needs triage
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant