From eb7817ad7e36d9953aecc2b6fa534da082e98cba Mon Sep 17 00:00:00 2001 From: usa Date: Sun, 30 Apr 2017 21:18:31 +0000 Subject: [PATCH] setup.mak have to handle `GIT` and `HAVE_GIT` * win32/setup.mak: seems to be forgotten to commit at r58295. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58520 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- win32/setup.mak | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/win32/setup.mak b/win32/setup.mak index 61c570fff9..91f8123868 100644 --- a/win32/setup.mak +++ b/win32/setup.mak @@ -64,6 +64,7 @@ USE_RUBYGEMS = $(USE_RUBYGEMS) ENABLE_DEBUG_ENV = $(ENABLE_DEBUG_ENV) !endif +# TOOLS << !if !defined(BASERUBY) @for %I in (ruby.exe) do @echo BASERUBY = %~s$$PATH:I>> $(MAKEFILE) @@ -78,6 +79,12 @@ ENABLE_DEBUG_ENV = $(ENABLE_DEBUG_ENV) !else @echo HAVE_BASERUBY = no>> $(MAKEFILE) !endif +!if "$(GIT)" != "" + @echo GIT = $(GIT)>> $(MAKEFILE) +!endif +!if "$(HAVE_GIT)" != "" + @echo HAVE_GIT = $(HAVE_GIT)>> $(MAKEFILE) +!endif -osname-section-: @$(APPEND)