From a3e1b7df4913d7d7b2999cd8c494a7df8504694f Mon Sep 17 00:00:00 2001 From: Travis Cross Date: Thu, 1 May 2014 22:19:56 +0000 Subject: [PATCH] Protect cross-compiling from polluted PKG_CONFIG_PATH --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 48a9c4067f..a4a0fba656 100644 --- a/configure.ac +++ b/configure.ac @@ -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