Mercurial > vim
diff src/Make_mvc.mak @ 27486:c7e18e99dbe8 v8.2.4271
patch 8.2.4271: MS-Windows: cannot build with Ruby 3.1.0
Commit: https://github.com/vim/vim/commit/1f47a287ee4f8b1d007dff878b23dd0cd6104f38
Author: K.Takata <kentkt@csc.jp>
Date: Mon Jan 31 13:25:36 2022 +0000
patch 8.2.4271: MS-Windows: cannot build with Ruby 3.1.0
Problem: MS-Windows: cannot build with Ruby 3.1.0.
Solution: Adjust the DLL name and include directory. (Ken Takata,
closes #9666)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Mon, 31 Jan 2022 14:30:04 +0100 |
parents | ee1019e59bef |
children | e9e493983e11 |
line wrap: on
line diff
--- a/src/Make_mvc.mak +++ b/src/Make_mvc.mak @@ -1186,7 +1186,11 @@ RUBY_MSVCRT_NAME = $(MSVCRT_NAME) ! if "$(CPU)" == "i386" RUBY_INSTALL_NAME = $(RUBY_MSVCRT_NAME)-ruby$(RUBY_API_VER) ! else # CPU +! if EXIST($(RUBY)/lib/ruby/$(RUBY_API_VER_LONG)/x64-mingw-ucrt) +RUBY_INSTALL_NAME = x64-ucrt-ruby$(RUBY_API_VER) +! else RUBY_INSTALL_NAME = x64-$(RUBY_MSVCRT_NAME)-ruby$(RUBY_API_VER) +! endif ! endif # CPU ! endif # RUBY_INSTALL_NAME