From 018647fd481a7eb4af97d5f61afc0fddfe76fc24 Mon Sep 17 00:00:00 2001 From: lhchavez Date: Fri, 3 Sep 2021 06:40:31 -0700 Subject: libgit2 v1.2.0 #major This commit introduces libgit2 v1.2.0 to git2go, which brings a large number of [bugfixes and features](https://github.com/libgit2/libgit2/releases/tag/v1.2.0). This also marks the start of the v32 release. --- Build_system_dynamic.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'Build_system_dynamic.go') diff --git a/Build_system_dynamic.go b/Build_system_dynamic.go index 348cdc8..9500188 100644 --- a/Build_system_dynamic.go +++ b/Build_system_dynamic.go @@ -1,3 +1,4 @@ +//go:build !static // +build !static package git @@ -7,8 +8,8 @@ package git #cgo CFLAGS: -DLIBGIT2_DYNAMIC #include -#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" +#if LIBGIT2_VER_MAJOR != 1 || LIBGIT2_VER_MINOR < 2 || LIBGIT2_VER_MINOR > 2 +# error "Invalid libgit2 version; this git2go supports libgit2 between v1.2.0 and v1.2.0" #endif */ import "C" -- cgit v1.2.3