Re: [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" > 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

Re: [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. > I

Re: [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 > lib/libno