diff options
-rwxr-xr-x | packaging/windows/mingw-make.sh | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/packaging/windows/mingw-make.sh b/packaging/windows/mingw-make.sh index 7416d1d59..6201d41a4 100755 --- a/packaging/windows/mingw-make.sh +++ b/packaging/windows/mingw-make.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/sh # # just a small shell script that is used to invoke make with the right # parameters to cross compile a binary for Windows @@ -6,6 +6,10 @@ # the paths work for the default mingw32 install on OpenSUSE - adjust as # necessary +# force recreation of the nsi file in order to get the correct version +# number +rm packaging/windows/subsurface.nsi + export PATH=/usr/i686-w64-mingw32/sys-root/mingw/bin:$PATH make CC=i686-w64-mingw32-gcc \ PKGCONFIG=i686-w64-mingw32-pkg-config \ |