Patch 9.0.1342
Problem:    MS-Windows: linking may fail with space in directory name.
Solution:   Add quotes. (closes #12050)
Files:      src/Make_mvc.mak


*** ../vim-9.0.1341/src/Make_mvc.mak    2022-12-04 20:11:12.795828027 +0000
--- src/Make_mvc.mak    2023-02-23 12:34:39.811992392 +0000
***************
*** 879,885 ****
  CFLAGS  = $(CFLAGS) -DFEAT_TCL
  TCL_OBJ       = $(OUTDIR)\if_tcl.obj
  TCL_INC       = /I "$(TCL)\Include" /I "$(TCL)"
! TCL_LIB = $(TCL)\lib\tcl$(TCL_VER)vc.lib
  ! endif
  !endif
  
--- 879,885 ----
  CFLAGS  = $(CFLAGS) -DFEAT_TCL
  TCL_OBJ       = $(OUTDIR)\if_tcl.obj
  TCL_INC       = /I "$(TCL)\Include" /I "$(TCL)"
! TCL_LIB = "$(TCL)\lib\tcl$(TCL_VER)vc.lib"
  ! endif
  !endif
  
***************
*** 928,934 ****
                -DDYNAMIC_PYTHON_DLL=\"python$(PYTHON_VER).dll\"
  PYTHON_LIB = /nodefaultlib:python$(PYTHON_VER).lib
  ! else
! PYTHON_LIB = $(PYTHON)\libs\python$(PYTHON_VER).lib
  ! endif
  !endif
  
--- 928,934 ----
                -DDYNAMIC_PYTHON_DLL=\"python$(PYTHON_VER).dll\"
  PYTHON_LIB = /nodefaultlib:python$(PYTHON_VER).lib
  ! else
! PYTHON_LIB = "$(PYTHON)\libs\python$(PYTHON_VER).lib"
  ! endif
  !endif
  
***************
*** 953,959 ****
  PYTHON3_LIB = /nodefaultlib:python$(PYTHON3_VER).lib
  ! else
  CFLAGS = $(CFLAGS) -DPYTHON3_DLL=\"$(DYNAMIC_PYTHON3_DLL)\"
! PYTHON3_LIB = $(PYTHON3)\libs\python$(PYTHON3_VER).lib
  ! endif
  !endif
  
--- 953,959 ----
  PYTHON3_LIB = /nodefaultlib:python$(PYTHON3_VER).lib
  ! else
  CFLAGS = $(CFLAGS) -DPYTHON3_DLL=\"$(DYNAMIC_PYTHON3_DLL)\"
! PYTHON3_LIB = "$(PYTHON3)\libs\python$(PYTHON3_VER).lib"
  ! endif
  !endif
  
***************
*** 1111,1117 ****
  CFLAGS = $(CFLAGS) -DFEAT_RUBY
  RUBY_OBJ = $(OUTDIR)\if_ruby.obj
  RUBY_INC = /I "$(RUBY)\include\ruby-$(RUBY_API_VER_LONG)" /I 
"$(RUBY)\include\ruby-$(RUBY_API_VER_LONG)\$(RUBY_PLATFORM)"
! RUBY_LIB = $(RUBY)\lib\$(RUBY_INSTALL_NAME).lib
  # Do we want to load Ruby dynamically?
  ! if "$(DYNAMIC_RUBY)" == "yes"
  !  message Ruby DLL will be loaded dynamically
--- 1111,1117 ----
  CFLAGS = $(CFLAGS) -DFEAT_RUBY
  RUBY_OBJ = $(OUTDIR)\if_ruby.obj
  RUBY_INC = /I "$(RUBY)\include\ruby-$(RUBY_API_VER_LONG)" /I 
"$(RUBY)\include\ruby-$(RUBY_API_VER_LONG)\$(RUBY_PLATFORM)"
! RUBY_LIB = "$(RUBY)\lib\$(RUBY_INSTALL_NAME).lib"
  # Do we want to load Ruby dynamically?
  ! if "$(DYNAMIC_RUBY)" == "yes"
  !  message Ruby DLL will be loaded dynamically
*** ../vim-9.0.1341/src/version.c       2023-02-22 13:14:33.518931022 +0000
--- src/version.c       2023-02-23 12:36:02.331935126 +0000
***************
*** 697,698 ****
--- 697,700 ----
  {   /* Add new patch number below this line */
+ /**/
+     1342,
  /**/

-- 
In Joseph Heller's novel "Catch-22", the main character tries to get out of a
war by proving he is crazy.  But the mere fact he wants to get out of the war
only shows he isn't crazy -- creating the original "Catch-22".

 /// Bram Moolenaar -- b...@moolenaar.net -- http://www.Moolenaar.net   \\\
///                                                                      \\\
\\\        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
 \\\            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 vim_dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/20230223123657.B07E91C0857%40moolenaar.net.

Raspunde prin e-mail lui