From 680d3bd37638afc5ac80e8380c20318ff20feae7 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Fri, 6 Oct 2017 13:35:48 +0300 Subject: Fix old .ilk files cleanup --- build2/cc/link.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'build2') 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"); } } } -- cgit v1.1