Patch 8.0.1739
Problem:    MS-Windows with msys2 cannot build Ruby statically.
Solution:   Define RUBY_VERSION. (Gray Wolf, closes #2826)
Files:      src/Make_cyg_ming.mak


*** ../vim-8.0.1739/src/Make_cyg_ming.mak       2018-04-12 20:23:43.495157918 
+0200
--- src/Make_cyg_ming.mak       2018-04-20 22:26:17.185113083 +0200
***************
*** 390,396 ****
  
  #     Ruby interface:
  #       RUBY=[Path to Ruby directory] (Set inside Make_cyg.mak or 
Make_ming.mak)
! #       DYNAMIC_RUBY=yes (to load the Ruby DLL dynamically)
  #       RUBY_VER=[Ruby version, eg 19, 22] (default is 22)
  #       RUBY_API_VER_LONG=[Ruby API version, eg 1.8, 1.9.1, 2.2.0]
  #                         (default is 2.2.0)
--- 390,396 ----
  
  #     Ruby interface:
  #       RUBY=[Path to Ruby directory] (Set inside Make_cyg.mak or 
Make_ming.mak)
! #       DYNAMIC_RUBY=yes (to load the Ruby DLL dynamically, "no" for static)
  #       RUBY_VER=[Ruby version, eg 19, 22] (default is 22)
  #       RUBY_API_VER_LONG=[Ruby API version, eg 1.8, 1.9.1, 2.2.0]
  #                         (default is 2.2.0)
***************
*** 458,463 ****
--- 458,464 ----
  endif
  ifeq (no, $(DYNAMIC_RUBY))
  RUBYLIB = -L$(RUBY)/lib -l$(RUBY_INSTALL_NAME)
+ CFLAGS += -DRUBY_VERSION=$(RUBY_VER)
  endif
  
  endif # RUBY
*** ../vim-8.0.1739/src/version.c       2018-04-20 22:00:15.197553999 +0200
--- src/version.c       2018-04-20 22:28:22.288435323 +0200
***************
*** 763,764 ****
--- 763,766 ----
  {   /* Add new patch number below this line */
+ /**/
+     1739,
  /**/

-- 
hundred-and-one symptoms of being an internet addict:
238. You think faxes are old-fashioned.

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui