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, notmuch@notmuchmail.org

Cc:

From: David Bremner


Jinwoo Lee <jinwoo68@gmail.com> writes:

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

this is fixed in

     id:1434263191-14171-1-git-send-email-david@tethera.net

an updated patch sent a few minutes ago.

>
>> cd bindings/ruby && \
>> 		EXTRA_LDFLAGS="" \
>> 		ruby extconf.rb --vendor
>> checking for notmuch_database_create in libnotmuch.so... no
>> *** extconf.rb failed ***

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

> 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.  


Thread: