2
0
mirror of https://github.com/boostorg/build.git synced 2026-02-15 00:52:16 +00:00

quick bugfix

[SVN r11491]
This commit is contained in:
Dave Abrahams
2001-10-31 19:19:33 +00:00
parent f8deaef693
commit 4ad11bcb8b
2 changed files with 22 additions and 20 deletions

View File

@@ -52,19 +52,20 @@ flags msvc LINKFLAGS <target-type>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 $(<) : $(>) ;
}
}

View File

@@ -52,19 +52,20 @@ flags msvc LINKFLAGS <target-type>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 $(<) : $(>) ;
}
}