Protect cross-compiling from polluted PKG_CONFIG_PATH

This commit is contained in:
Travis Cross 2014-05-01 22:19:56 +00:00
parent 582fa1a664
commit a3e1b7df49
1 changed files with 1 additions and 1 deletions

View File

@ -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