[PATCH 2/5] go: set LDFLAGS, fix include directive
Justus Winter
4winter at informatik.uni-hamburg.de
Mon Apr 30 12:55:41 PDT 2012
Signed-off-by: Justus Winter <4winter at 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
More information about the notmuch
mailing list