Allow building statically via the "static" build tag #371
Loading…
Reference in New Issue
No description provided.
Delete Branch "static-dynamic"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This hopes to aid in the tension between providing the latest but also being able to provide something that is installable without compilation of libgit2.
In order to keep up with the latest you need to compile, which means going outside of the Go tools. It is then not much of an extra step to run
make
or perform these steps yourself. If you have a different kind of building, you can also pass in the flag yourself.If you're not interested in that but want to use a released version installed on the system, you already had to use the versioned branches, as even
master
before would just update from one to the other, requiring extra steps to handle that.New versioned branches that come out of this will also have this capability which should make it easier to use a released version but ship git2go as a single library instead of relying on libgit2 being installed on the target system.