Re: [PATCH v4 01/16] add util/search-path.{c, h} to test for executables in $PATH
[notmuch-archives.git] / 7d / d743844b984cd7e3721a4531a7e9f0deb45f20
1 Return-Path: <teythoon@jade-hamburg.de>\r
2 X-Original-To: notmuch@notmuchmail.org\r
3 Delivered-To: notmuch@notmuchmail.org\r
4 Received: from localhost (localhost [127.0.0.1])\r
5         by olra.theworths.org (Postfix) with ESMTP id 9419F431FC7\r
6         for <notmuch@notmuchmail.org>; Wed,  9 May 2012 04:15:46 -0700 (PDT)\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
8 X-Spam-Flag: NO\r
9 X-Spam-Score: 0\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none]\r
12         autolearn=disabled\r
13 Received: from olra.theworths.org ([127.0.0.1])\r
14         by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
15         with ESMTP id QAr0H1qoxA7w for <notmuch@notmuchmail.org>;\r
16         Wed,  9 May 2012 04:15:45 -0700 (PDT)\r
17 Received: from mail.cryptobitch.de (cryptobitch.de [88.198.7.68])\r
18         (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))\r
19         (No client certificate requested)\r
20         by olra.theworths.org (Postfix) with ESMTPS id A6481431FD5\r
21         for <notmuch@notmuchmail.org>; Wed,  9 May 2012 04:15:42 -0700 (PDT)\r
22 Received: from mail.jade-hamburg.de (mail.jade-hamburg.de [85.183.11.228])\r
23         (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))\r
24         (No client certificate requested)\r
25         by mail.cryptobitch.de (Postfix) with ESMTPSA id 163AF588C58\r
26         for <notmuch@notmuchmail.org>; Wed,  9 May 2012 13:15:41 +0200 (CEST)\r
27 Received: by mail.jade-hamburg.de (Postfix, from userid 401)\r
28         id B997CDF2A7; Wed,  9 May 2012 13:15:25 +0200 (CEST)\r
29 Received: from thinkbox.jade-hamburg.de (mail.jade-hamburg.de [85.183.11.228])\r
30         (using TLSv1 with cipher AES256-SHA (256/256 bits))\r
31         (No client certificate requested) (Authenticated sender: teythoon)\r
32         by mail.jade-hamburg.de (Postfix) with ESMTPSA id D171EDF2A2;\r
33         Wed,  9 May 2012 13:15:18 +0200 (CEST)\r
34 Received: from teythoon by thinkbox.jade-hamburg.de with local (Exim 4.77)\r
35         (envelope-from <teythoon@thinkbox.jade-hamburg.de>)\r
36         id 1SS4rj-0003cZ-2c; Wed, 09 May 2012 13:15:31 +0200\r
37 From: Justus Winter <4winter@informatik.uni-hamburg.de>\r
38 To: notmuch@notmuchmail.org\r
39 Subject: [PATCH 2/5] go: set LDFLAGS to -lnotmuch in the packages source file\r
40 Date: Wed,  9 May 2012 13:15:17 +0200\r
41 Message-Id:\r
42  <1336562120-13837-3-git-send-email-4winter@informatik.uni-hamburg.de>\r
43 X-Mailer: git-send-email 1.7.10\r
44 In-Reply-To:\r
45  <1336562120-13837-1-git-send-email-4winter@informatik.uni-hamburg.de>\r
46 References: <20120505111535.3687.9018@thinkbox.jade-hamburg.de>\r
47         <1336562120-13837-1-git-send-email-4winter@informatik.uni-hamburg.de>\r
48 X-BeenThere: notmuch@notmuchmail.org\r
49 X-Mailman-Version: 2.1.13\r
50 Precedence: list\r
51 List-Id: "Use and development of the notmuch mail system."\r
52         <notmuch.notmuchmail.org>\r
53 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
54         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
55 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
56 List-Post: <mailto:notmuch@notmuchmail.org>\r
57 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
58 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
59         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
60 X-List-Received-Date: Wed, 09 May 2012 11:15:47 -0000\r
61 \r
62 Set the LDFLAGS to -lnotmuch so the resulting go package will be\r
63 linked with libnotmuch.\r
64 \r
65 Signed-off-by: Justus Winter <4winter@informatik.uni-hamburg.de>\r
66 ---\r
67  bindings/go/src/notmuch/notmuch.go |    2 ++\r
68  1 file changed, 2 insertions(+)\r
69 \r
70 diff --git a/bindings/go/src/notmuch/notmuch.go b/bindings/go/src/notmuch/notmuch.go\r
71 index 8faf3bb..86e577c 100644\r
72 --- a/bindings/go/src/notmuch/notmuch.go\r
73 +++ b/bindings/go/src/notmuch/notmuch.go\r
74 @@ -3,6 +3,8 @@\r
75  package notmuch\r
76  \r
77  /*\r
78 +#cgo LDFLAGS: -lnotmuch\r
79 +\r
80  #include <stdlib.h>\r
81  #include <string.h>\r
82  #include <time.h>\r
83 -- \r
84 1.7.10\r
85 \r