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: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
This commit is contained in:
parent
a8bd70ad3b
commit
0842154128
4
configure
vendored
4
configure
vendored
@ -1163,8 +1163,8 @@ fi
|
|||||||
# pkg-config probe
|
# pkg-config probe
|
||||||
|
|
||||||
if ! has $pkg_config; then
|
if ! has $pkg_config; then
|
||||||
# likely not cross compiling, or hope for the best
|
echo warning: proceeding without "$pkg_config" >&2
|
||||||
pkg_config=pkg-config
|
pkg_config=/bin/false
|
||||||
fi
|
fi
|
||||||
|
|
||||||
##########################################
|
##########################################
|
||||||
|
Loading…
Reference in New Issue
Block a user