]> git.cworth.org Git - notmuch/blobdiff - bindings/Makefile.local
build: Allow user to specify ruby executable
[notmuch] / bindings / Makefile.local
index 11d11d4bcbeb19d217f221f8d250be0d4e2cde32..2ba2775c8e59af673837688576520689f5335f60 100644 (file)
@@ -8,7 +8,8 @@ ifeq ($(HAVE_RUBY_DEV),1)
        cd $(dir)/ruby && \
                EXTRA_LDFLAGS="$(NO_UNDEFINED_LDFLAGS)" \
                LIBNOTMUCH="../../lib/$(LINKER_NAME)" \
-               ruby extconf.rb --vendor
+               NOTMUCH_SRCDIR='$(NOTMUCH_SRCDIR)' \
+               $(RUBY) extconf.rb --vendor
        $(MAKE) -C $(dir)/ruby
 endif