diff options
Diffstat (limited to 'git.go')
| -rw-r--r-- | git.go | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -3,6 +3,12 @@ package git /* #include <git2.h> #include <git2/sys/openssl.h> +#cgo pkg-config: libgit2 + +#if LIBGIT2_VER_MAJOR != 0 || LIBGIT2_VER_MINOR != 24 +# error "Invalid libgit2 version; this git2go supports libgit2 v0.24" +#endif + */ import "C" import ( |
