[gtk-vnc] Ensure we find mingw version of libgcrypt-config in $PATH



commit 87f48f0ff5450953d20b42f8d5b6138189306336
Author: Daniel P. Berrange <berrange redhat com>
Date:   Mon Feb 9 12:30:59 2015 +0000

    Ensure we find mingw version of libgcrypt-config in $PATH

 autobuild.sh |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/autobuild.sh b/autobuild.sh
index 59ae042..2338e4d 100755
--- a/autobuild.sh
+++ b/autobuild.sh
@@ -63,6 +63,7 @@ if [ -x /usr/bin/i686-w64-mingw32-gcc ]; then
   make distclean
 
   PKG_CONFIG_PATH="$AUTOBUILD_INSTALL_ROOT/i686-w64-mingw32/sys-root/mingw/lib/pkgconfig" \
+  PATH="/usr/i686-w64-mingw32/sys-root/mingw/bin:$PATH" \
   CC="i686-w64-mingw32-gcc" \
   ../configure \
     --build=$(uname -m)-w64-linux \
@@ -81,6 +82,7 @@ if [ -x /usr/bin/i686-w64-mingw32-gcc ]; then
   if test $? = 0 ; then
     make distclean
     PKG_CONFIG_PATH="$AUTOBUILD_INSTALL_ROOT/i686-w64-mingw32/sys-root/mingw/lib/pkgconfig" \
+    PATH="/usr/i686-w64-mingw32/sys-root/mingw/bin:$PATH" \
     CC="i686-w64-mingw32-gcc" \
     ../configure --prefix=$AUTOBUILD_INSTALL_ROOT \
       --build=$(uname -m)-w64-linux \
@@ -100,6 +102,7 @@ if [ -x /usr/bin/x86_64-w64-mingw32-gcc ]; then
   make distclean
 
   PKG_CONFIG_PATH="$AUTOBUILD_INSTALL_ROOT/x86_64-w64-mingw32/sys-root/mingw/lib/pkgconfig" \
+  PATH="/usr/x86_64-w64-mingw32/sys-root/mingw/bin:$PATH" \
   CC="x86_64-w64-mingw32-gcc" \
   ../configure \
     --build=$(uname -m)-w64-linux \
@@ -118,6 +121,7 @@ if [ -x /usr/bin/x86_64-w64-mingw32-gcc ]; then
   if test $? = 0 ; then
     make distclean
     PKG_CONFIG_PATH="$AUTOBUILD_INSTALL_ROOT/x86_64-w64-mingw32/sys-root/mingw/lib/pkgconfig" \
+    PATH="/usr/x86_64-w64-mingw32/sys-root/mingw/bin:$PATH" \
     CC="x86_64-w64-mingw32-gcc" \
     ../configure --prefix=$AUTOBUILD_INSTALL_ROOT \
       --build=$(uname -m)-w64-linux \


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]