[PATCH] lib, ruby: make use of -Wl,--no-undefined configurable
David Bremner
david at tethera.net
Sat Jun 13 23:53:41 PDT 2015
Jinwoo Lee <jinwoo68 at 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 at 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.
More information about the notmuch
mailing list