Re: [notmuch] libtool-less shared library building

Subject: Re: [notmuch] libtool-less shared library building

Date: Wed, 20 Jan 2010 16:18:44 -0400

To: Ben Gamari, notmuch@notmuchmail.org, cworth@cworth.org

Cc:

From: David Bremner


On Wed, 20 Jan 2010 15:07:26 -0500, Ben Gamari <bgamari.foss@gmail.com> 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

Thread: