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

Allow overriding PKG_CONFIG #236

Merged
merged 1 commit into from
Feb 6, 2023

Conversation

tedbrandston
Copy link
Contributor

In my ChromiumOS build calling pkg-config without an appropriate cross-compilation prefix is considered an error. The current method of detecting PKG_CONFIG in efivar always calls pkg-config, even if PKG_CONFIG has already been set in the environment.

Allow overriding PKG_CONFIG, rather than always checking for the cross-compiled version. This is more in-line with how the other tools are chosen.

Signed-off-by: Ted Brandston tbrandston@google.com

In my ChromiumOS build calling pkg-config without an appropriate
cross-compilation prefix is considered an error. The current method of
detecting PKG_CONFIG in efivar _always_ calls pkg-config, even if
PKG_CONFIG has already been set in the environment.

Allow overriding PKG_CONFIG, rather than always checking for the
cross-compiled version. This is more in-line with how the other tools
are chosen.

Signed-off-by: Ted Brandston <tbrandston@google.com>
@frozencemetery frozencemetery merged commit 328f584 into rhboot:main Feb 6, 2023
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.

None yet

2 participants