X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=bindings%2FMakefile.local;h=17b561caac52dfc17a1f4fc9e56758b32dbb25fd;hp=d236f014c1b048e6fdb5401c0730c7e980b366ca;hb=35cdebdad0d41be58a4c705ec48fd1bb51f098eb;hpb=53035dafe060f6832909ad54e48277c8d3bd2d1b diff --git a/bindings/Makefile.local b/bindings/Makefile.local index d236f014..17b561ca 100644 --- a/bindings/Makefile.local +++ b/bindings/Makefile.local @@ -3,14 +3,14 @@ dir := bindings # force the shared library to be built -ruby-bindings: lib/libnotmuch.so +ruby-bindings: lib/$(LINKER_NAME) ifeq ($(HAVE_RUBY_DEV),1) cd $(dir)/ruby && \ EXTRA_LDFLAGS="$(NO_UNDEFINED_LDFLAGS)" \ + LIBNOTMUCH="../../lib/$(LINKER_NAME)" \ + NOTMUCH_SRCDIR='$(NOTMUCH_SRCDIR)' \ ruby extconf.rb --vendor $(MAKE) -C $(dir)/ruby -else - @echo Missing dependency, skipping ruby bindings endif CLEAN += $(patsubst %,$(dir)/ruby/%, \