Commit Graph

4 Commits

Author SHA1 Message Date
lhchavez 0ff1486249
Declare forward-compatibility with libgit2 v1.3.0 #minor (#844)
This commit marks this (Golang) version of git2go as being compatible
with libgit2 v1.3.0.
2021-10-16 04:54:53 -07:00
lhchavez 549706bb57
Declare forward-compatibility with libgit2 v1.2.0 #minor (#800)
We can't yet ship a fully libgit2 v1.2.0-compatible library due to a
missing public symbol, but we can allow the v1.1.0-era codebase to link
against libgit2 v1.2.0 in the meantime.
2021-09-04 20:07:24 -07:00
Vladimir Buzuev 0d7c8dadb4
fix buldled static build on Windows/MinGW (#761)
seems like need more libraries in LDFLAGS:

* ws2_32 for socket, connect, htonl, etc
* ole32 for CoInitializeEx
* rpcrt4 for UuidCreate
* crypt32 for CertFreeCertificateContext
2021-04-03 18:45:09 -07:00
lhchavez 4b2ac7c998
Rename the build files (#724)
This change renames the build files so they come lexicographically
before any source files. This makes the compile errors (due to
mismatched libgit2 versions) easier to understand, since the
`Build_*.go` files will be tried before the rest, and the `#error` in
those files will kick in, leading to a much better experience.

This unfortunately goes a bit against the defacto standard of using only
lowercase characters in filenames, but the better developer experience
(and better self-diagnosis when things go wrong instead of having to
open a new issue) is worth the deviation.

Fixes: #711
Fixes: #617
2020-12-13 15:20:16 -08:00