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 v
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
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
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.
> Is
> 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
> 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
---
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
WARN_C
---
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
WARN_C