diff options
-rw-r--r-- | build2/cc/link.cxx | 4 |
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"); } } } |