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