diff options
| -rw-r--r-- | branch.go | 1 | ||||
| -rw-r--r-- | git.go | 2 | ||||
| -rw-r--r-- | settings/settings.go | 2 |
3 files changed, 2 insertions, 3 deletions
@@ -1,7 +1,6 @@ package git /* -#cgo pkg-config: libgit2 #include <git2.h> #include <git2/errors.h> */ @@ -1,7 +1,7 @@ package git /* -#cgo pkg-config: libgit2 +#cgo pkg-config: --static libgit2 #include <git2.h> #include <git2/errors.h> */ diff --git a/settings/settings.go b/settings/settings.go index 6661c5d..f18c7a1 100644 --- a/settings/settings.go +++ b/settings/settings.go @@ -1,7 +1,7 @@ package settings /* -#cgo pkg-config: libgit2 +#cgo pkg-config: --static libgit2 #include <git2.h> int _go_git_opts_get_search_path(int level, git_buf *buf) |
