Cross-building Subsurface on Linux for Windows

Farzana Raisa farzanaahmed17 at gmail.com
Tue Mar 18 06:27:06 PDT 2014


Sorry for using top posting


On Tue, Mar 18, 2014 at 6:50 PM, Lubomir I. Ivanov <neolit123 at gmail.com>wrote:

> please, don't use top-posting:
> http://en.wikipedia.org/wiki/Posting_style#Top-posting
>
> On 18 March 2014 14:21, Farzana Raisa <farzanaahmed17 at gmail.com> wrote:
> > It's already been added to mingw-make.sh
> >
>
> it's important to find what libgit2-dev version you have.
> CONFIG += libgit21-api
> would define USE_LIBGIT21_API
>
> in save-git.c, bellow this line:
> #if !LIBGIT2_VER_MAJOR && LIBGIT2_VER_MINOR <= 20 &&
> !defined(USE_LIBGIT21_API)
>
> you can add something like:
> #error BREAK
>
> and see if that pre-processor branch is entered if the #error triggers.
>
> the idea there is the following:
> - if one has NOT defined USE_LIBGIT21_API (CONFIG += libgit21-api)
> - and if one's libgit2 version is 0.20 or bellow we wrap some API
> calls to pass less arguments
>
> so if you have 0.21 only then you add CONFIG += libgit21-api.
> if not leave it out.
>
> lubomir
> --
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.hohndel.org/pipermail/subsurface/attachments/20140318/04a56470/attachment.html>


More information about the subsurface mailing list