mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Update the Windows installer creation script
This now works with a straight out of the box MinGW install on OpenSUSE. A simple shell script that shows how to invoke the cross build is included. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
042c77c0fc
commit
a9d1f318b5
2 changed files with 59 additions and 38 deletions
12
packaging/windows/mingw-make.sh
Executable file
12
packaging/windows/mingw-make.sh
Executable file
|
|
@ -0,0 +1,12 @@
|
|||
#!/bin/bash
|
||||
#
|
||||
# just a small shell script that is used to invoke make with the right
|
||||
# parameters to cross compile a binary for Windows
|
||||
#
|
||||
# the paths work for the default mingw32 install on OpenSUSE - adjust as
|
||||
# necessary
|
||||
|
||||
make CC=i686-w64-mingw32-gcc \
|
||||
PKGCONFIG=i686-w64-mingw32-pkg-config \
|
||||
PKG_CONFIG_PATH=/usr/i686-w64-mingw32/sys-root/i686-w64-mingw32/lib/pkgconfig/ \
|
||||
XML2CONFIG=/usr/i686-w64-mingw32/sys-root/mingw/bin/xml2-config NAME=subsurface.exe
|
||||
Loading…
Add table
Add a link
Reference in a new issue