diff options
Diffstat (limited to 'packaging/windows/mingw-make.sh')
-rwxr-xr-x | packaging/windows/mingw-make.sh | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/packaging/windows/mingw-make.sh b/packaging/windows/mingw-make.sh index 7ca88ea23..794a8521a 100755 --- a/packaging/windows/mingw-make.sh +++ b/packaging/windows/mingw-make.sh @@ -8,8 +8,10 @@ # force recreation of the nsi file in order to get the correct version # number -rm packaging/windows/subsurface.nsi > /dev/null 2>&1 +BASEDIR=$(dirname $0) +rm $BASEDIR/subsurface.nsi > /dev/null 2>&1 export PATH=/usr/i686-w64-mingw32/sys-root/mingw/bin:$PATH -mingw32-qmake-qt4 CROSS_PATH=/usr/i686-w64-mingw32/sys-root/mingw LIBGIT2DEVEL=../libgit2 CONFIG+=libgit21-api +mingw32-qmake-qt4 CROSS_PATH=/usr/i686-w64-mingw32/sys-root/mingw \ + LIBGIT2DEVEL=../libgit2 CONFIG+=libgit21-api $BASEDIR/../../subsurface.pro mingw32-make $@ |