aboutsummaryrefslogtreecommitdiffstats
path: root/build-w32.sh
diff options
context:
space:
mode:
Diffstat (limited to 'build-w32.sh')
-rw-r--r--build-w32.sh19
1 files changed, 12 insertions, 7 deletions
diff --git a/build-w32.sh b/build-w32.sh
index c9ea984dc..0983012aa 100644
--- a/build-w32.sh
+++ b/build-w32.sh
@@ -1,10 +1,15 @@
- ./configure --enable-maintainer-mode --prefix=/home/wk/w32root \
+#!/bin/sh
+
+[ -z "$w32root" ] && w32root="$HOME/w32root"
+
+ ./configure --enable-maintainer-mode --prefix=${w32root} \
--host=i586-mingw32msvc --build=`scripts/config.guess` \
- --with-gpg-error-prefix=/home/wk/w32root \
- --with-ksba-prefix=/home/wk/w32root \
- --with-libgcrypt-prefix=/home/wk/w32root \
- --with-libassuan-prefix=/home/wk/w32root \
- --with-zlib=/home/wk/w32root
-
+ --with-gpg-error-prefix=${w32root} \
+ --with-ksba-prefix=${w32root} \
+ --with-libgcrypt-prefix=${w32root} \
+ --with-libassuan-prefix=${w32root} \
+ --with-zlib=${w32root} \
+ --with-pth-prefix=${w32root}
+