Commit 08421541 authored by Paolo Bonzini's avatar Paolo Bonzini Committed by Blue Swirl
Browse files

do not default to non-prefixed pkg-config when cross compiling



This can still be requested with PKG_CONFIG=/path/to/pkg-config.
Just do not use it as a default, and print a warning.
Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
Signed-off-by: default avatarBlue Swirl <blauwirbel@gmail.com>
parent a8bd70ad
......@@ -1163,8 +1163,8 @@ fi
# pkg-config probe
if ! has $pkg_config; then
# likely not cross compiling, or hope for the best
pkg_config=pkg-config
echo warning: proceeding without "$pkg_config" >&2
pkg_config=/bin/false
fi
##########################################
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment