Re: [notmuch] [PATCH] Build and link against notmuch shared library

Subject: Re: [notmuch] [PATCH] Build and link against notmuch shared library

Date: Sat, 23 Jan 2010 02:06:00 +0000

To: Felipe Contreras, Ben Gamari

Cc: notmuch@notmuchmail.org

From: Ingmar Vanhassel


On Sat, 23 Jan 2010 02:58:53 +0200, Felipe Contreras <felipe.contreras@gmail.com> wrote:
> On Wed, Jan 20, 2010 at 10:35 PM, Ben Gamari <bgamari.foss@gmail.com> wrote:
> >  libnotmuch_modules = $(libnotmuch_c_srcs:.c=.o) $(libnotmuch_cxx_srcs:.cc=.o)
> > -$(dir)/notmuch.a: $(libnotmuch_modules)
> > -       $(call quiet,AR) rcs $@ $^
> > +$(dir)/$(SONAME): $(libnotmuch_modules)
> > +       $(call quiet,CXX,$(LDFLAGS)) $^ $(FINAL_LDFLAGS) -Wl,-soname=$(SONAME) -shared -o $@
> 
> Does it need to be CXX? Why not CC instead?

Xapian and the notmuch wrapper 'parts' are written in C++.

-- 
Exherbo KDE, X.org maintainer

Thread: