From 4edf37f9be0374c73ae957c09b393f5bc913fe3f Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Fri, 7 Mar 2014 16:33:00 -0800 Subject: 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 --- INSTALL | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'INSTALL') 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 -- cgit v1.2.3-70-g09d2