diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2010-12-23 11:43:56 +0100 |
---|---|---|
committer | Blue Swirl <blauwirbel@gmail.com> | 2011-01-14 16:11:59 +0000 |
commit | 0842154128a6763c63ef011cb967219605625f18 (patch) | |
tree | a560853df10484f4b0ca48f6425d8e796b98fb59 | |
parent | a8bd70ad3b62701037e9f3a996762ca7c29581a2 (diff) |
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>
-rwxr-xr-x | configure | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 ########################################## |