summaryrefslogtreecommitdiffstats
path: root/packaging/windows/mingw-make.sh
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2014-03-07 16:33:00 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-03-07 16:33:00 -0800
commit4edf37f9be0374c73ae957c09b393f5bc913fe3f (patch)
tree3acfd408a1c3c946a428d906161a6dd66617e7bd /packaging/windows/mingw-make.sh
parent18303b6f43591c631de01db0067ecdf4cb6dac85 (diff)
downloadsubsurface-4edf37f9be0374c73ae957c09b393f5bc913fe3f.tar.gz
Update cross building for Windows on Linux
This updates the instructions and the plumbing to be able to link against a locally built libgit2 Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'packaging/windows/mingw-make.sh')
-rwxr-xr-xpackaging/windows/mingw-make.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/packaging/windows/mingw-make.sh b/packaging/windows/mingw-make.sh
index 3d503bf0e..7ca88ea23 100755
--- a/packaging/windows/mingw-make.sh
+++ b/packaging/windows/mingw-make.sh
@@ -11,5 +11,5 @@
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-qmake-qt4 CROSS_PATH=/usr/i686-w64-mingw32/sys-root/mingw LIBGIT2DEVEL=../libgit2 CONFIG+=libgit21-api
mingw32-make $@