From: Travis Cross Date: Thu, 1 May 2014 22:19:56 +0000 (+0000) Subject: Protect cross-compiling from polluted PKG_CONFIG_PATH X-Git-Tag: v1.5.12~61 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a3e1b7df4913d7d7b2999cd8c494a7df8504694f;p=thirdparty%2Ffreeswitch.git Protect cross-compiling from polluted PKG_CONFIG_PATH --- 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