--- /dev/null
+Return-Path: <david@tethera.net>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+ by arlo.cworth.org (Postfix) with ESMTP id 63C6B6DE0948\r
+ for <notmuch@notmuchmail.org>; Sat, 13 Jun 2015 23:57:02 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at cworth.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: 0.189\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=0.189 tagged_above=-999 required=5 tests=[AWL=0.189]\r
+ autolearn=disabled\r
+Received: from arlo.cworth.org ([127.0.0.1])\r
+ by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024)\r
+ with ESMTP id eRwUbcW8aTJ4 for <notmuch@notmuchmail.org>;\r
+ Sat, 13 Jun 2015 23:57:00 -0700 (PDT)\r
+Received: from mx.xen14.node3324.gplhost.com (gitolite.debian.net\r
+ [87.98.215.224])\r
+ by arlo.cworth.org (Postfix) with ESMTPS id 18BCD6DE0350\r
+ for <notmuch@notmuchmail.org>; Sat, 13 Jun 2015 23:57:00 -0700 (PDT)\r
+Received: from remotemail by mx.xen14.node3324.gplhost.com with local (Exim\r
+ 4.80) (envelope-from <david@tethera.net>)\r
+ id 1Z41pL-0002w0-U4; Sun, 14 Jun 2015 06:55:31 +0000\r
+Received: (nullmailer pid 25159 invoked by uid 1000); Sun, 14 Jun 2015\r
+ 06:53:41 -0000\r
+From: David Bremner <david@tethera.net>\r
+To: Jinwoo Lee <jinwoo68@gmail.com>, notmuch@notmuchmail.org\r
+Subject: Re: [PATCH] lib, ruby: make use of -Wl,--no-undefined configurable\r
+In-Reply-To: <yq65a8w2u7yv.fsf@jinwoo-macbookair.roam.corp.google.com>\r
+References: <1433142542-2307-3-git-send-email-david@tethera.net>\r
+ <1434261524-14139-1-git-send-email-david@tethera.net>\r
+ <yq65a8w2u7yv.fsf@jinwoo-macbookair.roam.corp.google.com>\r
+User-Agent: Notmuch/0.20.1+21~g4e79903 (http://notmuchmail.org) Emacs/24.4.1\r
+ (x86_64-pc-linux-gnu)\r
+Date: Sun, 14 Jun 2015 08:53:41 +0200\r
+Message-ID: <87r3peye4q.fsf@maritornes.cs.unb.ca>\r
+MIME-Version: 1.0\r
+Content-Type: text/plain\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.18\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: Sun, 14 Jun 2015 06:57:02 -0000\r
+\r
+Jinwoo Lee <jinwoo68@gmail.com> writes:\r
+\r
+> There are 2 problems.\r
+>\r
+> 1. The file, bindings/Makefile.local still has lib/libnotmuch.so as the\r
+> dependency of ruby-bindings.\r
+\r
+this is fixed in\r
+\r
+ id:1434263191-14171-1-git-send-email-david@tethera.net\r
+\r
+an updated patch sent a few minutes ago.\r
+\r
+>\r
+>> cd bindings/ruby && \\r
+>> EXTRA_LDFLAGS="" \\r
+>> ruby extconf.rb --vendor\r
+>> checking for notmuch_database_create in libnotmuch.so... no\r
+>> *** extconf.rb failed ***\r
+\r
+This should also be fixed by the same patch, since that test is\r
+eliminated.\r
+\r
+> ld: warning: ignoring file ../../lib/libnotmuch.dylib, file was built for x86_64 which is not the architecture being linked (i386): ../../lib/libnotmuch.dylib\r
+\r
+On the other hand, this suggests there is still something broken with\r
+building the ruby extensions on mac. I think if noone has a better idea,\r
+and the updated versions of the two patches I sent to the list this\r
+morning don't help, I'll just add a "--without-ruby" option to the\r
+config script. In the long run, we probably want such an option anyway. \r
+\r