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

Felipe Contreras felipe.contreras at gmail.com
Fri Jan 22 16:58:53 PST 2010


On Wed, Jan 20, 2010 at 10:35 PM, Ben Gamari <bgamari.foss at 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?

-- 
Felipe Contreras


More information about the notmuch mailing list