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