Re: [PATCH] lib, ruby: make use of -Wl,--no-undefined configurable

Subject: Re: [PATCH] lib, ruby: make use of -Wl,--no-undefined configurable

Date: Sun, 14 Jun 2015 08:53:41 +0200

To: Jinwoo Lee,


From: David Bremner

Jinwoo Lee <> writes:

> There are 2 problems.
> 1. The file, bindings/Makefile.local still has lib/ as the
>    dependency of ruby-bindings.

this is fixed in

an updated patch sent a few minutes ago.

>> cd bindings/ruby && \
>> 		ruby extconf.rb --vendor
>> checking for notmuch_database_create in no
>> *** extconf.rb failed ***

This should also be fixed by the same patch, since that test is

> ld: warning: ignoring file ../../lib/libnotmuch.dylib, file was built for x86_64 which is not the architecture being linked (i386): ../../lib/libnotmuch.dylib

On the other hand, this suggests there is still something broken with
building the ruby extensions on mac. I think if noone has a better idea,
and the updated versions of the two patches I sent to the list this
morning don't help, I'll just add a "--without-ruby" option to the
config script. In the long run, we probably want such an option anyway.