mirror of
https://github.com/subsurface/subsurface.git
synced 2024-12-01 06:30:26 +00:00
35952a59d0
...and re-enable silent mode by default for cross builds Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
15 lines
495 B
Bash
Executable file
15 lines
495 B
Bash
Executable file
#!/bin/sh
|
|
#
|
|
# 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 Fedora - adjust as
|
|
# necessary
|
|
|
|
# force recreation of the nsi file in order to get the correct version
|
|
# number
|
|
rm packaging/windows/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
|
|
mingw32-make $@
|