提交 a3e1b7df authored 作者: Travis Cross's avatar Travis Cross

Protect cross-compiling from polluted PKG_CONFIG_PATH

上级 582fa1a6
......@@ -1122,7 +1122,7 @@ case $host in
esac
# temporary workaround for Debian libldns-dev package bug
if test -f /usr/lib/pkg-config/libldns.pc; then
if test "$cross_compiling" != "yes" && test -f /usr/lib/pkg-config/libldns.pc; then
path_push_unique PKG_CONFIG_PATH /usr/lib/pkg-config
fi
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论