summaryrefslogtreecommitdiff
path: root/win32
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-11-11 23:22:54 (GMT)
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-11-11 23:22:54 (GMT)
commit1febaff10de3ce7965fd70b66038f7510ff4d243 (patch)
tree1bfd3ceff24993da635f4bfd5f6aa4832b8bb3b8 /win32
parent2fcdfa6e9bc78dfd805c5d9cec1c06007aa5fd12 (diff)
win32/setup.mak: Substitute slashes in `MJIT_CC`
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65669 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'win32')
-rw-r--r--win32/setup.mak3
1 files changed, 1 insertions, 2 deletions
diff --git a/win32/setup.mak b/win32/setup.mak
index 07d358e..2b9c355 100644
--- a/win32/setup.mak
+++ b/win32/setup.mak
@@ -239,9 +239,8 @@ MACHINE = x86
# EXTLIBS =
CC = cl -nologo
<<
- @for %I in (cl.exe) do @echo MJIT_CC = %~$$PATH:I>>$(MAKEFILE)
+ @(for %I in (cl.exe) do @set MJIT_CC=%~$$PATH:I) && (call echo MJIT_CC = "%MJIT_CC:\=/%" -nologo>>$(MAKEFILE))
@type << >>$(MAKEFILE)
-MJIT_CC = "$$(MJIT_CC:\=/)" -nologo
$(BANG)include $$(srcdir)/win32/Makefile.sub
<<