]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
Protect cross-compiling from polluted PKG_CONFIG_PATH
authorTravis Cross <tc@traviscross.com>
Thu, 1 May 2014 22:19:56 +0000 (22:19 +0000)
committerTravis Cross <tc@traviscross.com>
Thu, 1 May 2014 22:23:59 +0000 (22:23 +0000)
configure.ac

index 48a9c4067fdc84d4c99ca21f219875d9d5b48aab..a4a0fba65644d0f8296d9e7fe422830c165f6054 100644 (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