summaryrefslogtreecommitdiffstats
path: root/INSTALL
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 /INSTALL
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 'INSTALL')
-rw-r--r--INSTALL8
1 files changed, 8 insertions, 0 deletions
diff --git a/INSTALL b/INSTALL
index 5eccdd2da..83ad50d4a 100644
--- a/INSTALL
+++ b/INSTALL
@@ -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