aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Justus Winter <4winter@informatik.uni-hamburg.de>2012-05-09 13:15:17 +0200
committerGravatar David Bremner <bremner@debian.org>2012-05-11 08:35:38 -0300
commit3760a79b3fd551c389f1216af321d1ab45d0642f (patch)
tree4d03ab1460a67a2a05806d92e624a710b5c17e7b
parent97565b77cdb4c7c2db82f0baa462eeabb17294dc (diff)
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>
-rw-r--r--bindings/go/src/notmuch/notmuch.go2
1 files changed, 2 insertions, 0 deletions
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 <stdlib.h>
#include <string.h>
#include <time.h>