Protect cross-compiling from polluted PKG_CONFIG_PATH
This commit is contained in:
parent
582fa1a664
commit
a3e1b7df49
|
@ -1122,7 +1122,7 @@ case $host in
|
||||||
esac
|
esac
|
||||||
|
|
||||||
# temporary workaround for Debian libldns-dev package bug
|
# 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
|
path_push_unique PKG_CONFIG_PATH /usr/lib/pkg-config
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue