X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=bindings%2FMakefile.local;h=11d11d4bcbeb19d217f221f8d250be0d4e2cde32;hp=d236f014c1b048e6fdb5401c0730c7e980b366ca;hb=8a433aad9901f014e36f1b5cf36e2a6ac9cb466b;hpb=53035dafe060f6832909ad54e48277c8d3bd2d1b diff --git a/bindings/Makefile.local b/bindings/Makefile.local index d236f014..11d11d4b 100644 --- a/bindings/Makefile.local +++ b/bindings/Makefile.local @@ -3,14 +3,13 @@ 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)" \ ruby extconf.rb --vendor $(MAKE) -C $(dir)/ruby -else - @echo Missing dependency, skipping ruby bindings endif CLEAN += $(patsubst %,$(dir)/ruby/%, \