From 3760a79b3fd551c389f1216af321d1ab45d0642f Mon Sep 17 00:00:00 2001 From: Justus Winter <4winter@informatik.uni-hamburg.de> Date: Wed, 9 May 2012 13:15:17 +0200 Subject: [PATCH] go: set LDFLAGS to -lnotmuch in the packages source file Set the LDFLAGS to -lnotmuch so the resulting go package will be linked with libnotmuch. Signed-off-by: Justus Winter <4winter@informatik.uni-hamburg.de> --- bindings/go/src/notmuch/notmuch.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bindings/go/src/notmuch/notmuch.go b/bindings/go/src/notmuch/notmuch.go index 8faf3bb1..86e577c4 100644 --- a/bindings/go/src/notmuch/notmuch.go +++ b/bindings/go/src/notmuch/notmuch.go @@ -3,6 +3,8 @@ package notmuch /* +#cgo LDFLAGS: -lnotmuch + #include #include #include -- 2.26.2