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>
This commit is contained in:
Justus Winter 2012-05-09 13:15:17 +02:00 committed by David Bremner
parent 97565b77cd
commit 3760a79b3f

View file

@ -3,6 +3,8 @@
package notmuch
/*
#cgo LDFLAGS: -lnotmuch
#include <stdlib.h>
#include <string.h>
#include <time.h>