Return-Path: X-Original-To: notmuch@notmuchmail.org Delivered-To: notmuch@notmuchmail.org Received: from localhost (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id 04A8D431FBC for ; Fri, 22 Jan 2010 18:06:05 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -0.293 X-Spam-Level: X-Spam-Status: No, score=-0.293 tagged_above=-999 required=5 tests=[AWL=-0.294, BAYES_50=0.001] autolearn=ham Received: from olra.theworths.org ([127.0.0.1]) by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id tO-dKXL36AdM for ; Fri, 22 Jan 2010 18:06:02 -0800 (PST) Received: from bach.exherbo.org (bach.exherbo.org [78.47.197.147]) by olra.theworths.org (Postfix) with ESMTP id 0A9CF431FAE for ; Fri, 22 Jan 2010 18:06:02 -0800 (PST) Received: from [83.101.72.69] (helo=localhost) by bach.exherbo.org with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1NYVNv-0005gt-Vh; Sat, 23 Jan 2010 02:06:01 +0000 From: Ingmar Vanhassel To: Felipe Contreras , Ben Gamari In-Reply-To: <94a0d4531001221658y2eb24146qc9f9f45fbd8b5150@mail.gmail.com> References: <87hbqgttqz.fsf@convex-new.cs.unb.ca> <1264019720-359-1-git-send-email-bgamari.foss@gmail.com> <94a0d4531001221658y2eb24146qc9f9f45fbd8b5150@mail.gmail.com> Message-Id: Date: Sat, 23 Jan 2010 02:06:00 +0000 Cc: notmuch@notmuchmail.org Subject: Re: [notmuch] [PATCH] Build and link against notmuch shared library X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 23 Jan 2010 02:06:05 -0000 On Sat, 23 Jan 2010 02:58:53 +0200, Felipe Contreras wrote: > On Wed, Jan 20, 2010 at 10:35 PM, Ben Gamari 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