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