From: Justus Winter <4winter@informatik.uni-hamburg.de> Date: Mon, 30 Apr 2012 19:55:41 +0000 (+0200) Subject: [PATCH 2/5] go: set LDFLAGS, fix include directive X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=6e230b367a3b2888d3525d8be96a3f3779ac58a1;p=notmuch-archives.git [PATCH 2/5] go: set LDFLAGS, fix include directive --- diff --git a/fb/a0b6748284323c837faa15f243362d4311cb06 b/fb/a0b6748284323c837faa15f243362d4311cb06 new file mode 100644 index 000000000..ffa07f420 --- /dev/null +++ b/fb/a0b6748284323c837faa15f243362d4311cb06 @@ -0,0 +1,87 @@ +Return-Path: +X-Original-To: notmuch@notmuchmail.org +Delivered-To: notmuch@notmuchmail.org +Received: from localhost (localhost [127.0.0.1]) + by olra.theworths.org (Postfix) with ESMTP id 279BC429E47 + for ; Mon, 30 Apr 2012 12:56:43 -0700 (PDT) +X-Virus-Scanned: Debian amavisd-new at olra.theworths.org +X-Spam-Flag: NO +X-Spam-Score: 0 +X-Spam-Level: +X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none] + autolearn=disabled +Received: from olra.theworths.org ([127.0.0.1]) + by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) + with ESMTP id C9BFOFjhAAoU for ; + Mon, 30 Apr 2012 12:56:42 -0700 (PDT) +Received: from mail.cryptobitch.de (cryptobitch.de [88.198.7.68]) + (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) + (No client certificate requested) + by olra.theworths.org (Postfix) with ESMTPS id 26B4B431FAF + for ; Mon, 30 Apr 2012 12:56:42 -0700 (PDT) +Received: from mail.jade-hamburg.de (mail.jade-hamburg.de [85.183.11.228]) + (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) + (No client certificate requested) + by mail.cryptobitch.de (Postfix) with ESMTPSA id 79FCF584BAC + for ; Mon, 30 Apr 2012 21:56:40 +0200 (CEST) +Received: by mail.jade-hamburg.de (Postfix, from userid 401) + id F0E96DF2A7; Mon, 30 Apr 2012 21:56:39 +0200 (CEST) +Received: from thinkbox.jade-hamburg.de (unknown [10.1.1.153]) + (using TLSv1 with cipher AES256-SHA (256/256 bits)) + (No client certificate requested) (Authenticated sender: teythoon) + by mail.jade-hamburg.de (Postfix) with ESMTPSA id 63611DF2A2; + Mon, 30 Apr 2012 21:55:53 +0200 (CEST) +Received: from teythoon by thinkbox.jade-hamburg.de with local (Exim 4.77) + (envelope-from ) + id 1SOwhL-0003ym-QX; Mon, 30 Apr 2012 21:55:51 +0200 +From: Justus Winter <4winter@informatik.uni-hamburg.de> +To: notmuch@notmuchmail.org +Subject: [PATCH 2/5] go: set LDFLAGS, fix include directive +Date: Mon, 30 Apr 2012 21:55:41 +0200 +Message-Id: + <1335815744-15258-2-git-send-email-4winter@informatik.uni-hamburg.de> +X-Mailer: git-send-email 1.7.10 +In-Reply-To: + <1335815744-15258-1-git-send-email-4winter@informatik.uni-hamburg.de> +References: <20120430195420.2528.48612@thinkbox.jade-hamburg.de> + <1335815744-15258-1-git-send-email-4winter@informatik.uni-hamburg.de> +X-BeenThere: notmuch@notmuchmail.org +X-Mailman-Version: 2.1.13 +Precedence: list +List-Id: "Use and development of the notmuch mail system." + +List-Unsubscribe: , + +List-Archive: +List-Post: +List-Help: +List-Subscribe: , + +X-List-Received-Date: Mon, 30 Apr 2012 19:56:43 -0000 + +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 + #include + #include +-#include "notmuch.h" ++#include + */ + import "C" + import "unsafe" +-- +1.7.10 +