diff options
Diffstat (limited to 'win32/Makefile.sub')
-rw-r--r-- | win32/Makefile.sub | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/win32/Makefile.sub b/win32/Makefile.sub index 1af689f7dc..f81af2d55c 100644 --- a/win32/Makefile.sub +++ b/win32/Makefile.sub @@ -864,7 +864,11 @@ $(CONFIG_H): $(MKFILES) $(srcdir)/win32/Makefile.sub $(win_srcdir)/Makefile.sub #define RUBY_COREDLL "$(RT)" #define RUBY_PLATFORM "$(arch)" #define RUBY_SITEARCH "$(sitearch)" +!if "$(MJIT_SUPPORT)" == "yes" #define USE_MJIT 1 +!else +#define USE_MJIT 0 +!endif #endif /* $(guard) */ << @@ -1053,7 +1057,7 @@ s,@srcdir@,$(srcdir),;t t s,@top_srcdir@,$(srcdir),;t t s,@try_header@,try_compile,;t t s,@ruby_pc@,$(ruby_pc),;t t -s,@MJIT_SUPPORT,$(MJIT_SUPPORT),;t t +s,@MJIT_SUPPORT@,$(MJIT_SUPPORT),;t t <<KEEP miniruby: miniruby$(EXEEXT) |