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:
@@ -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) "$(<)" +"$(>)"
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -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)_% @"$(>)"
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user