mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Force recreation of the Windows .nsi file when cross building
This way we make sure that the version number for the installer is correct. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
155228004e
commit
bb44e108a3
1 changed files with 5 additions and 1 deletions
|
@ -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 \
|
||||
|
|
Loading…
Add table
Reference in a new issue