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>
This commit is contained in:
Dirk Hohndel 2014-03-07 16:33:00 -08:00
parent 18303b6f43
commit 4edf37f9be
5 changed files with 20 additions and 3 deletions

View file

@ -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 $@

View file

@ -120,6 +120,8 @@ Section
File libssl-10.dll
File libeay32.dll
File ssleay32.dll
File libgit2.dll
File libcrypto-10.dll
File Qt*4.dll
File subsurface.ico
File qt.conf