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

Changed lib build so that it deletes the old lib file before re-creating it.

[SVN r20775]
This commit is contained in:
John Maddock
2003-11-10 11:28:06 +00:00
parent 9fb2d82993
commit fbd1555c3a
2 changed files with 3 additions and 2 deletions

View File

@@ -179,7 +179,8 @@ rule Archive-action
actions updated together piecemeal borland-Archive-action
{
"$(BCC_TOOL_PATH)tlib" /P64 /u /a /C /$(ARFLAGS) "$(<)" +-"$(>)"
IF EXIST "$(<)" DEL "$(<)"
"$(BCC_TOOL_PATH)tlib" /P64 /u /a /C /$(ARFLAGS) "$(<)" +"$(>)"
}

View File

@@ -188,7 +188,7 @@ rule Archive-action
actions updated together piecemeal vc-Archive
{
$(VC_SETUP)
if exist "$(<)" set _$(<:B)_="$(<)"
if exist "$(<)" DEL "$(<)"
"$(VC_TOOL_PATH)$(VC_LINKER)" /lib $(ARFLAGS) $(PDB_LINKFLAG)"$(VC_PDB_FILE)" /out:"$(<)" %_$(<:B)_% @"$(>)"
}