From 29a983b68f6dc75271d24e33fc5b3eb7801ce986 Mon Sep 17 00:00:00 2001 From: Carlos Martín Nieto Date: Tue, 3 Jun 2014 17:47:53 +0200 Subject: Switch default to static linking Build in libgit2 statically into git2go by default, removing the need for the right version to be available as a shared object. We do still need to link dynamically against OpenSSL and LibSSH2. --- settings/settings.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'settings/settings.go') 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 int _go_git_opts_get_search_path(int level, git_buf *buf) -- cgit v1.2.3