X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=bindings%2FMakefile.local;h=d236f014c1b048e6fdb5401c0730c7e980b366ca;hp=16817f5ac4322771a0181d879d8a3a069c72491b;hb=53035dafe060f6832909ad54e48277c8d3bd2d1b;hpb=4e799034492ca28d65385afc94a35461fe25b426 diff --git a/bindings/Makefile.local b/bindings/Makefile.local index 16817f5a..d236f014 100644 --- a/bindings/Makefile.local +++ b/bindings/Makefile.local @@ -5,7 +5,9 @@ dir := bindings # force the shared library to be built ruby-bindings: lib/libnotmuch.so ifeq ($(HAVE_RUBY_DEV),1) - cd $(dir)/ruby && ruby extconf.rb --vendor + cd $(dir)/ruby && \ + EXTRA_LDFLAGS="$(NO_UNDEFINED_LDFLAGS)" \ + ruby extconf.rb --vendor $(MAKE) -C $(dir)/ruby else @echo Missing dependency, skipping ruby bindings