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 29631431FBC for ; Wed, 20 Jan 2010 12:18:46 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -0.529 X-Spam-Level: X-Spam-Status: No, score=-0.529 tagged_above=-999 required=5 tests=[AWL=-0.530, BAYES_50=0.001] autolearn=ham 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 cKHPfZ6lu4M1 for ; Wed, 20 Jan 2010 12:18:45 -0800 (PST) Received: from convex-new.cs.unb.ca (convex-new.cs.unb.ca [131.202.245.35]) by olra.theworths.org (Postfix) with ESMTP id 98347431FAE for ; Wed, 20 Jan 2010 12:18:45 -0800 (PST) Received: from bremner by convex-new.cs.unb.ca with local (Exim 4.69) (envelope-from ) id 1NXh0m-0000Yo-N4; Wed, 20 Jan 2010 16:18:44 -0400 From: David Bremner To: Ben Gamari , notmuch@notmuchmail.org, cworth@cworth.org In-Reply-To: <1264018047-28362-1-git-send-email-bgamari.foss@gmail.com> References: <1264018047-28362-1-git-send-email-bgamari.foss@gmail.com> Date: Wed, 20 Jan 2010 16:18:44 -0400 Message-ID: <87hbqgttqz.fsf@convex-new.cs.unb.ca> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: Re: [notmuch] libtool-less shared library building 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, 20 Jan 2010 20:18:46 -0000 On Wed, 20 Jan 2010 15:07:26 -0500, Ben Gamari wrote: > Here is a short patch to build libnotmuch.so and link against the notmuch > binary against it. I think the notmuch rule in Makefile.local is probably > missing a dependency on lib/libnotmuch.so, but I wasn't sure how to specify it > without having it be added to the linker command line. It looks like that doesn't set an soname. Technically this isn't hard, just add -Wl,-soname=$(SONAME) to the g++ command line. But keeping track of when the soname should be bumped is a more challenging enterprise. d