aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2017-10-06 13:35:48 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2017-10-06 13:35:48 +0300
commit680d3bd37638afc5ac80e8380c20318ff20feae7 (patch)
tree2fa3ee65ab9d1f2442cb2a9bf8bd134f7ff4c549
parent9d873b63913eb7e471952caedc15bdeaafa4f391 (diff)
Fix old .ilk files cleanup
-rw-r--r--build2/cc/link.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/build2/cc/link.cxx b/build2/cc/link.cxx
index e14cb08..80eb995 100644
--- a/build2/cc/link.cxx
+++ b/build2/cc/link.cxx
@@ -1855,8 +1855,8 @@ namespace build2
if (tsys == "win32-msvc")
{
- try_rmfile (m + ".pdb");
- try_rmfile (m + ".ilk");
+ try_rmfile (m.base () += ".ilk");
+ try_rmfile (m += ".pdb");
}
}
}