]> git.tdb.fi Git - ext/subsurface.git/blob - packaging/windows/mingw-make.sh
Update the Windows installer creation script
[ext/subsurface.git] / packaging / windows / mingw-make.sh
1 #!/bin/bash
2 #
3 # just a small shell script that is used to invoke make with the right
4 # parameters to cross compile a binary for Windows
5 #
6 # the paths work for the default mingw32 install on OpenSUSE - adjust as
7 # necessary
8
9 make CC=i686-w64-mingw32-gcc \
10         PKGCONFIG=i686-w64-mingw32-pkg-config \
11         PKG_CONFIG_PATH=/usr/i686-w64-mingw32/sys-root/i686-w64-mingw32/lib/pkgconfig/ \
12         XML2CONFIG=/usr/i686-w64-mingw32/sys-root/mingw/bin/xml2-config NAME=subsurface.exe