diff --git a/msvc-tools.jam b/msvc-tools.jam index c402f0bfd..d8c4d39b7 100644 --- a/msvc-tools.jam +++ b/msvc-tools.jam @@ -52,19 +52,20 @@ flags msvc LINKFLAGS DLL : /DLL ; rule Link-action { - if $(COMMAND_FILES) { - local command-file = $(<[1]:S=.CMD) ; - LOCATE on $(command-file) = $(gLOCATE($(<))) ; - COMMAND on $(<) = @ ; - msvc-Link-action $(<) : $(command-file) ; - - list-files $(command-file) : $(>) ; - DEPENDS $(<) : $(command-file) ; - RmTemps $(<[1]) : $(command-file) ; + if $(COMMAND_FILES) + { + local command-file = $(<[1]:S=.CMD) ; + LOCATE on $(command-file) = $(gLOCATE($(<))) ; + COMMAND on $(<) = @ ; + msvc-Link-action $(<) : $(command-file) ; + + list-files $(command-file) : $(>) ; + DEPENDS $(<[1]) : $(command-file) ; + RmTemps $(<[1]) : $(command-file) ; } else { - COMMAND on $(<) = "" ; + COMMAND on $(<) = "" ; msvc-Link-action $(<) : $(>) ; } } diff --git a/v1/msvc-tools.jam b/v1/msvc-tools.jam index c402f0bfd..d8c4d39b7 100644 --- a/v1/msvc-tools.jam +++ b/v1/msvc-tools.jam @@ -52,19 +52,20 @@ flags msvc LINKFLAGS DLL : /DLL ; rule Link-action { - if $(COMMAND_FILES) { - local command-file = $(<[1]:S=.CMD) ; - LOCATE on $(command-file) = $(gLOCATE($(<))) ; - COMMAND on $(<) = @ ; - msvc-Link-action $(<) : $(command-file) ; - - list-files $(command-file) : $(>) ; - DEPENDS $(<) : $(command-file) ; - RmTemps $(<[1]) : $(command-file) ; + if $(COMMAND_FILES) + { + local command-file = $(<[1]:S=.CMD) ; + LOCATE on $(command-file) = $(gLOCATE($(<))) ; + COMMAND on $(<) = @ ; + msvc-Link-action $(<) : $(command-file) ; + + list-files $(command-file) : $(>) ; + DEPENDS $(<[1]) : $(command-file) ; + RmTemps $(<[1]) : $(command-file) ; } else { - COMMAND on $(<) = "" ; + COMMAND on $(<) = "" ; msvc-Link-action $(<) : $(>) ; } }