mirror of
https://github.com/subsurface/subsurface.git
synced 2024-12-01 14:40:28 +00:00
40ae90920a
[the macos/macosx typo was also found and a patch submitted by Henrik Brautaset Aronsen <subsurface@henrik.synth.no>] Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
15 lines
652 B
Bash
Executable file
15 lines
652 B
Bash
Executable file
#!/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
|
|
|
|
export PATH=/usr/i686-w64-mingw32/sys-root/mingw/bin:$PATH
|
|
make CC=i686-w64-mingw32-gcc \
|
|
PKGCONFIG=i686-w64-mingw32-pkg-config \
|
|
PKG_CONFIG_PATH=/usr/i686-w64-mingw32/sys-root/mingw/lib/pkgconfig/ \
|
|
CROSS_PATH=/usr/i686-w64-mingw32/sys-root/mingw/ \
|
|
XSLTCONFIG=/usr/i686-w64-mingw32/sys-root/mingw/bin/xslt-config \
|
|
XML2CONFIG=/usr/i686-w64-mingw32/sys-root/mingw/bin/xml2-config NAME=subsurface.exe install-cross-windows
|