Commit Graph

2 Commits

Author SHA1 Message Date
github-actions[bot] efed131f1f
fix buldled static build on Windows/MinGW (#761) (#763)
seems like need more libraries in LDFLAGS:

* ws2_32 for socket, connect, htonl, etc
* ole32 for CoInitializeEx
* rpcrt4 for UuidCreate
* crypt32 for CertFreeCertificateContext

(cherry picked from commit 0d7c8dadb4)

Co-authored-by: Vladimir Buzuev <44682889+vladimir-buzuev@users.noreply.github.com>
2021-04-04 08:28:49 -07:00
github-actions[bot] 8c043d028e
Rename the build files (#724) (#725)
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
(cherry picked from commit 4b2ac7c998)

Co-authored-by: lhchavez <lhchavez@lhchavez.com>
2020-12-13 15:47:18 -08:00