aboutsummaryrefslogtreecommitdiff
path: root/bindings
diff options
context:
space:
mode:
authorThomas Schneider <qsx@chaotikum.eu>2018-05-09 14:38:48 +0200
committerDavid Bremner <david@tethera.net>2018-05-10 21:01:06 -0300
commitb2e4778ea4a704e4a86ae41d680a9ec886e66cfa (patch)
treedaaa5f92f303ef37785f3ea0bad1775957f48ea6 /bindings
parenta07b28a488cd5d8f3d9dcf77401cc43ce6473138 (diff)
build: Allow user to specify ruby executable
This way, one can build for a different Ruby than $PATH/ruby (e. g. different versions, or Ruby in other paths). Signed-off-by: Thomas Schneider <qsx@chaotikum.eu>
Diffstat (limited to 'bindings')
-rw-r--r--bindings/Makefile.local2
1 files changed, 1 insertions, 1 deletions
diff --git a/bindings/Makefile.local b/bindings/Makefile.local
index 17b561ca..2ba2775c 100644
--- a/bindings/Makefile.local
+++ b/bindings/Makefile.local
@@ -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