diff options
author | Bram Moolenaar <Bram@vim.org> | 2010-07-18 21:42:34 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2010-07-18 21:42:34 +0200 |
commit | 69154f22a69cf421095771f16b12073a1a3bdb6d (patch) | |
tree | 9aaf51941f28f8098f39370e1b035ccf781463af /src/Make_mvc.mak | |
parent | 607cc1e0154bab3f83f3185d68cdff525e529ceb (diff) |
Fixes and improvements for MS-Windows build.
Diffstat (limited to 'src/Make_mvc.mak')
-rw-r--r-- | src/Make_mvc.mak | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Make_mvc.mak b/src/Make_mvc.mak index c0704503c2..9d34633ce0 100644 --- a/src/Make_mvc.mak +++ b/src/Make_mvc.mak @@ -817,7 +817,11 @@ RUBY_INSTALL_NAME = mswin32-ruby$(RUBY_VER) !message Ruby requested (version $(RUBY_VER)) - root dir is "$(RUBY)" CFLAGS = $(CFLAGS) -DFEAT_RUBY RUBY_OBJ = $(OUTDIR)\if_ruby.obj +!if $(RUBY_VER) >= 190 +RUBY_INC = /I "$(RUBY)\include\ruby-$(RUBY_VER_LONG)\$(RUBY_PLATFORM)" /I "$(RUBY)\include\ruby-$(RUBY_VER_LONG)" +!else RUBY_INC = /I "$(RUBY)\lib\ruby\$(RUBY_VER_LONG)\$(RUBY_PLATFORM)" +!endif RUBY_LIB = $(RUBY)\lib\$(RUBY_INSTALL_NAME).lib # Do we want to load Ruby dynamically? !if "$(DYNAMIC_RUBY)" == "yes" |