[notmuch] [PATCH 2/2] Build and link against notmuch shared library

2010-03-12 Thread Sebastian Spaeth
On Thu, 11 Mar 2010 14:41:09 -0800 (PST), Ben Gamari wrote: > On Thu, 04 Mar 2010 09:25:45 +0100, "Sebastian Spaeth" SSpaeth.de> wrote: > > I just tried out this patch to compile notmuch as a shared library and > > while producing lib/libnotmuch.so.1 it fails to find notmuch later: > > Try the

[notmuch] [PATCH 2/2] Build and link against notmuch shared library

2010-03-11 Thread Ben Gamari
On Thu, 04 Mar 2010 09:25:45 +0100, "Sebastian Spaeth" wrote: > I just tried out this patch to compile notmuch as a shared library and > while producing lib/libnotmuch.so.1 it fails to find notmuch later: Try the version I just posted. It will apply against master and builds on my machine. >

[notmuch] [PATCH 2/2] Build and link against notmuch shared library

2010-03-04 Thread Sebastian Spaeth
> notmuch_client_modules = $(notmuch_client_srcs:.c=.o) > -notmuch: $(notmuch_client_modules) lib/notmuch.a > - $(call quiet,CXX,$(LDFLAGS)) $^ $(FINAL_LDFLAGS) -o $@ > +notmuch: $(notmuch_client_modules) lib/libnotmuch.so > + $(call quiet,CC,$(LDFLAGS)) -lnotmuch $(filter-out >

[notmuch] [PATCH 2/2] Build and link against notmuch shared library

2010-01-24 Thread Ben Gamari
--- Makefile |1 + Makefile.local |6 -- lib/Makefile.local | 10 ++ 3 files changed, 11 insertions(+), 6 deletions(-) diff --git a/Makefile b/Makefile index 64b9d4a..6f296bb 100644 --- a/Makefile +++ b/Makefile @@ -1,3 +1,4 @@ +SONAME = libnotmuch.so.1

[notmuch] [PATCH 2/2] Build and link against notmuch shared library

2010-01-24 Thread Ben Gamari
--- Makefile |1 + Makefile.local |6 -- lib/Makefile.local | 10 ++ 3 files changed, 11 insertions(+), 6 deletions(-) diff --git a/Makefile b/Makefile index 64b9d4a..6f296bb 100644 --- a/Makefile +++ b/Makefile @@ -1,3 +1,4 @@ +SONAME = libnotmuch.so.1