From e8da5affe7ada724b71c6603c81d534752d4be6b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Carlos=20Mart=C3=ADn=20Nieto?= Date: Wed, 14 Jan 2015 13:52:52 +0100 Subject: [PATCH] Link dynamically to libgit2 With libgit2 v0.22 released, we can expect its API and ABI to remain stable when installed on the system. Linking dynamically allows us to use the go tool alone to build and install the package. --- git.go | 1 + 1 file changed, 1 insertion(+) diff --git a/git.go b/git.go index 8e78710..9496d2d 100644 --- a/git.go +++ b/git.go @@ -3,6 +3,7 @@ package git /* #include #include +#cgo pkg-config: libgit2 */ import "C" import (