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

@@ -210,6 +210,14 @@ $ mingw32-cmake -DCMAKE_BUILD_TYPE=Release -DQTONLY=TRUE ../sources
$ mingw32-make -j4
$ mingw32-make install
To compile libgit2, use:
$ mkdir -p ~/src/libgit2/build
$ git clone git://github.com/libgit2/libgit2 ~/src/libgit2
$ cd ~/src/libgit2/build
$ mingw32-cmake ..
$ mingw32-cmake --build .
To compile Subsurface, use:
$ mkdir -p ~/src/subsurface