提交 08421541 编写于 作者: P Paolo Bonzini 提交者: Blue Swirl

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: NPaolo Bonzini <pbonzini@redhat.com>
Signed-off-by: NBlue Swirl <blauwirbel@gmail.com>
上级 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
##########################################
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册