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 24769431FBC for ; Fri, 22 Jan 2010 16:58:55 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -1.428 X-Spam-Level: X-Spam-Status: No, score=-1.428 tagged_above=-999 required=5 tests=[AWL=-1.243, BAYES_40=-0.185] autolearn=unavailable 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 Kxx5Vv5UMHDA for ; Fri, 22 Jan 2010 16:58:54 -0800 (PST) Received: from mail-iw0-f180.google.com (mail-iw0-f180.google.com [209.85.223.180]) by olra.theworths.org (Postfix) with ESMTP id 5F21D431FAE for ; Fri, 22 Jan 2010 16:58:54 -0800 (PST) Received: by iwn10 with SMTP id 10so1410935iwn.22 for ; Fri, 22 Jan 2010 16:58:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=i4ga626MvnG+NYZtVVx4kPqLHCWCJOSS/5WdzOW9NZE=; b=BErpC8OU7ybDUYAMSUWijl9xk5c5ZXqv0Y81r7X+o6YLcDkfnlz69Pz+JZ07kDkVZg oPqRxQEe7gWCWAX9Atrq1So5uHsxAikrHzpPyQRjRlycQ3g7Cs+aas7JAT1u0Vu1wF8Q zI+56rSL+QT197UpyTT4HV26cLjLnVL2o3Gt8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=cZJTsY9/pyvRt16SEWn/TxYASwa5CYXwd81lPs7J83ccWM2MzhqC6QgnXIZva8p+Qp UGFv8TwYl/hrVwZkQUH6ehODFeT8eVvd0cWx+j7v2T81EMPgfh3bCoQC56RmuM41H/c0 qGfB+5gXQ6mIvifPvG1PwoxUSk48+uRyR6GFY= MIME-Version: 1.0 Received: by 10.231.158.205 with SMTP id g13mr6035223ibx.30.1264208333965; Fri, 22 Jan 2010 16:58:53 -0800 (PST) In-Reply-To: <1264019720-359-1-git-send-email-bgamari.foss@gmail.com> References: <87hbqgttqz.fsf@convex-new.cs.unb.ca> <1264019720-359-1-git-send-email-bgamari.foss@gmail.com> Date: Sat, 23 Jan 2010 02:58:53 +0200 Message-ID: <94a0d4531001221658y2eb24146qc9f9f45fbd8b5150@mail.gmail.com> From: Felipe Contreras To: Ben Gamari Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 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 00:58:55 -0000 On Wed, Jan 20, 2010 at 10:35 PM, Ben Gamari wrote= : > =C2=A0libnotmuch_modules =3D $(libnotmuch_c_srcs:.c=3D.o) $(libnotmuch_cx= x_srcs:.cc=3D.o) > -$(dir)/notmuch.a: $(libnotmuch_modules) > - =C2=A0 =C2=A0 =C2=A0 $(call quiet,AR) rcs $@ $^ > +$(dir)/$(SONAME): $(libnotmuch_modules) > + =C2=A0 =C2=A0 =C2=A0 $(call quiet,CXX,$(LDFLAGS)) $^ $(FINAL_LDFLAGS) -= Wl,-soname=3D$(SONAME) -shared -o $@ Does it need to be CXX? Why not CC instead? --=20 Felipe Contreras