mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-09-09 08:17:53 -06:00
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
1 changed files with 2 additions and 2 deletions
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…
Add table
Add a link
Reference in a new issue