w32: Set SYSROOT to help finding config scripts.
authorWerner Koch <wk@gnupg.org>
Fri, 17 Oct 2014 13:55:08 +0000 (15:55 +0200)
committerWerner Koch <wk@gnupg.org>
Fri, 17 Oct 2014 13:55:08 +0000 (15:55 +0200)
* autogen.sh <build-w32>: Set SYSROOT.

autogen.sh

index 31cfeeb..112d2ee 100755 (executable)
@@ -310,7 +310,7 @@ if [ "$myhost" = "w32" ]; then
 
     $tsdir/configure --enable-maintainer-mode ${SILENT} \
              --prefix=${w32root}  \
-             --host=${host} --build=${build} \
+             --host=${host} --build=${build} SYSROOT=${w32root} \
              ${configure_opts} ${extraoptions} "$@"
     rc=$?
     exit $rc