diff options
| author | lhchavez <[email protected]> | 2021-09-04 20:07:24 -0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2021-09-04 20:07:24 -0700 |
| commit | 549706bb573653469fbcc35c839759987c318d0c (patch) | |
| tree | 1015f3840025bba474bbfa69be418ea761c079d3 /Build_bundled_static.go | |
| parent | 2077003fa5b9689e44a8c8956639f0b424af0d96 (diff) | |
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.
Diffstat (limited to 'Build_bundled_static.go')
| -rw-r--r-- | Build_bundled_static.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Build_bundled_static.go b/Build_bundled_static.go index 65e31ac..85ed739 100644 --- a/Build_bundled_static.go +++ b/Build_bundled_static.go @@ -9,8 +9,8 @@ package git #cgo CFLAGS: -DLIBGIT2_STATIC #include <git2.h> -#if LIBGIT2_VER_MAJOR != 1 || LIBGIT2_VER_MINOR < 1 || LIBGIT2_VER_MINOR > 1 -# error "Invalid libgit2 version; this git2go supports libgit2 between v1.1.0 and v1.1.0" +#if LIBGIT2_VER_MAJOR != 1 || LIBGIT2_VER_MINOR < 1 || LIBGIT2_VER_MINOR > 2 +# error "Invalid libgit2 version; this git2go supports libgit2 between v1.1.0 and v1.2.0" #endif */ import "C" |
