diff options
Diffstat (limited to 'win32')
-rw-r--r-- | win32/Makefile.sub | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/win32/Makefile.sub b/win32/Makefile.sub index b3567af16f..680b3dea7e 100644 --- a/win32/Makefile.sub +++ b/win32/Makefile.sub @@ -254,6 +254,11 @@ RUNRUBY = .\$(PROGRAM) -I$(srcdir)/lib -I"$(EXTOUT)/$(arch)" !endif MINIRUBY = $(MINIRUBY) $(MINIRUBYOPT) RUNRUBY = $(RUNRUBY) "$(srcdir)/tool/runruby.rb" --extout="$(EXTOUT)" $(RUNRUBYOPT) -- +!if $(CROSS_COMPILING) +XRUBY = $(MINIRUBY) +!else +XRUBY = $(RUNRUBY) +!endif !ifndef RUBY RUBY = ruby !endif |