]> git.notmuchmail.org Git - notmuch/commitdiff
go: set LDFLAGS to -lnotmuch in the packages source file
authorJustus Winter <4winter@informatik.uni-hamburg.de>
Wed, 9 May 2012 11:15:17 +0000 (13:15 +0200)
committerDavid Bremner <bremner@debian.org>
Fri, 11 May 2012 11:35:38 +0000 (08:35 -0300)
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

index 8faf3bb1cf813174ce6bbc3b1d2ca5a51fb47763..86e577c47e06d53620a3c8abb28c10825a6001fd 100644 (file)
@@ -3,6 +3,8 @@
 package notmuch
 
 /*
+#cgo LDFLAGS: -lnotmuch
+
 #include <stdlib.h>
 #include <string.h>
 #include <time.h>