From 4128dfda5bebb7e2df7a72db30760557f8af4d11 Mon Sep 17 00:00:00 2001 From: Justus Winter <4winter@informatik.uni-hamburg.de> Date: Wed, 9 May 2012 13:15:17 +0200 Subject: [PATCH] [PATCH 2/5] go: set LDFLAGS to -lnotmuch in the packages source file --- 7d/d743844b984cd7e3721a4531a7e9f0deb45f20 | 85 +++++++++++++++++++++++ 1 file changed, 85 insertions(+) create mode 100644 7d/d743844b984cd7e3721a4531a7e9f0deb45f20 diff --git a/7d/d743844b984cd7e3721a4531a7e9f0deb45f20 b/7d/d743844b984cd7e3721a4531a7e9f0deb45f20 new file mode 100644 index 000000000..b31eccf56 --- /dev/null +++ b/7d/d743844b984cd7e3721a4531a7e9f0deb45f20 @@ -0,0 +1,85 @@ +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 9419F431FC7 + for ; Wed, 9 May 2012 04:15:46 -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 QAr0H1qoxA7w for ; + Wed, 9 May 2012 04:15:45 -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 A6481431FD5 + for ; Wed, 9 May 2012 04:15: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 163AF588C58 + for ; Wed, 9 May 2012 13:15:41 +0200 (CEST) +Received: by mail.jade-hamburg.de (Postfix, from userid 401) + id B997CDF2A7; Wed, 9 May 2012 13:15:25 +0200 (CEST) +Received: from thinkbox.jade-hamburg.de (mail.jade-hamburg.de [85.183.11.228]) + (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 D171EDF2A2; + Wed, 9 May 2012 13:15:18 +0200 (CEST) +Received: from teythoon by thinkbox.jade-hamburg.de with local (Exim 4.77) + (envelope-from ) + id 1SS4rj-0003cZ-2c; Wed, 09 May 2012 13:15:31 +0200 +From: Justus Winter <4winter@informatik.uni-hamburg.de> +To: notmuch@notmuchmail.org +Subject: [PATCH 2/5] go: set LDFLAGS to -lnotmuch in the packages source file +Date: Wed, 9 May 2012 13:15:17 +0200 +Message-Id: + <1336562120-13837-3-git-send-email-4winter@informatik.uni-hamburg.de> +X-Mailer: git-send-email 1.7.10 +In-Reply-To: + <1336562120-13837-1-git-send-email-4winter@informatik.uni-hamburg.de> +References: <20120505111535.3687.9018@thinkbox.jade-hamburg.de> + <1336562120-13837-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: Wed, 09 May 2012 11:15:47 -0000 + +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 | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/bindings/go/src/notmuch/notmuch.go b/bindings/go/src/notmuch/notmuch.go +index 8faf3bb..86e577c 100644 +--- a/bindings/go/src/notmuch/notmuch.go ++++ b/bindings/go/src/notmuch/notmuch.go +@@ -3,6 +3,8 @@ + package notmuch + + /* ++#cgo LDFLAGS: -lnotmuch ++ + #include + #include + #include +-- +1.7.10 + -- 2.26.2