1 Return-Path: <mh@glandium.org>
\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 97398431FBC
\r
6 for <notmuch@notmuchmail.org>; Wed, 20 Jan 2010 12:20:49 -0800 (PST)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\r
11 X-Spam-Status: No, score=0.759 tagged_above=-999 required=5 tests=[AWL=0.758,
\r
12 BAYES_50=0.001] autolearn=ham
\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 SNgHO9t8CfOo for <notmuch@notmuchmail.org>;
\r
16 Wed, 20 Jan 2010 12:20:49 -0800 (PST)
\r
17 Received: from vuizook.err.no (vuizook.err.no [85.19.221.46])
\r
18 by olra.theworths.org (Postfix) with ESMTP id DDCBA431FAE
\r
19 for <notmuch@notmuchmail.org>; Wed, 20 Jan 2010 12:20:48 -0800 (PST)
\r
20 Received: from cha92-13-88-165-248-19.fbx.proxad.net ([88.165.248.19]
\r
22 by vuizook.err.no with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
\r
23 (Exim 4.69) (envelope-from <mh@glandium.org>)
\r
24 id 1NXh2h-0001Pz-6K; Wed, 20 Jan 2010 21:20:45 +0100
\r
25 Received: from mh by jigen with local (Exim 4.71) (envelope-from <mh@jigen>)
\r
26 id 1NXh2g-0006gz-BS; Wed, 20 Jan 2010 21:20:42 +0100
\r
27 Date: Wed, 20 Jan 2010 21:20:42 +0100
\r
28 From: Mike Hommey <mh+notmuch@glandium.org>
\r
29 To: Ben Gamari <bgamari.foss@gmail.com>
\r
30 Message-ID: <20100120202042.GA25685@glandium.org>
\r
31 References: <1264018047-28362-1-git-send-email-bgamari.foss@gmail.com>
\r
32 <1264018047-28362-2-git-send-email-bgamari.foss@gmail.com>
\r
34 Content-Type: text/plain; charset=us-ascii
\r
35 Content-Disposition: inline
\r
36 In-Reply-To: <1264018047-28362-2-git-send-email-bgamari.foss@gmail.com>
\r
37 X-GPG-Fingerprint: A479 A824 265C B2A5 FC54 8D1E DE4B DA2C 54FD 2A58
\r
38 User-Agent: Mutt/1.5.20 (2009-06-14)
\r
39 Cc: notmuch@notmuchmail.org
\r
40 Subject: Re: [notmuch] [PATCH] Build and link against notmuch shared library
\r
41 X-BeenThere: notmuch@notmuchmail.org
\r
42 X-Mailman-Version: 2.1.13
\r
44 List-Id: "Use and development of the notmuch mail system."
\r
45 <notmuch.notmuchmail.org>
\r
46 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
47 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
48 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
49 List-Post: <mailto:notmuch@notmuchmail.org>
\r
50 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
51 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
52 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
53 X-List-Received-Date: Wed, 20 Jan 2010 20:20:49 -0000
\r
55 On Wed, Jan 20, 2010 at 03:07:27PM -0500, Ben Gamari wrote:
\r
56 > + install lib/libnotmuch.so $(DESTDIR)$(prefix)/lib/
\r
58 > +$(dir)/libnotmuch.so: $(libnotmuch_modules)
\r
59 > + $(call quiet,CXX,$(LDFLAGS)) $^ $(FINAL_LDFLAGS) -shared -o $@
\r
61 If you're going to install that in $(prefix)/lib, you'd better make that
\r
62 a library with a SONAME. -Wl,-soname,$(notdir $@) should do it, and
\r
63 you'd obviously have to change the target name to add a SO version.
\r