[PATCH 2/5] go: set LDFLAGS, fix include directive

Subject: [PATCH 2/5] go: set LDFLAGS, fix include directive

Date: Mon, 30 Apr 2012 21:55:41 +0200

To: notmuch@notmuchmail.org

Cc:

From: Justus Winter


Signed-off-by: Justus Winter <4winter@informatik.uni-hamburg.de>
---
 bindings/go/src/notmuch/notmuch.go |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/bindings/go/src/notmuch/notmuch.go b/bindings/go/src/notmuch/notmuch.go
index de9de23..524c956 100644
--- a/bindings/go/src/notmuch/notmuch.go
+++ b/bindings/go/src/notmuch/notmuch.go
@@ -3,10 +3,12 @@
 package notmuch
 
 /*
+#cgo LDFLAGS: -lnotmuch
+
 #include <stdlib.h>
 #include <string.h>
 #include <time.h>
-#include "notmuch.h"
+#include <notmuch.h>
 */
 import "C"
 import "unsafe"
-- 
1.7.10


Thread: