aboutsummaryrefslogtreecommitdiff
path: root/build2/cc/windows-rpath.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'build2/cc/windows-rpath.cxx')
-rw-r--r--build2/cc/windows-rpath.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/build2/cc/windows-rpath.cxx b/build2/cc/windows-rpath.cxx
index e27dddb..1bef95c 100644
--- a/build2/cc/windows-rpath.cxx
+++ b/build2/cc/windows-rpath.cxx
@@ -157,14 +157,14 @@ namespace build2
pdb = f;
pdb += ".pdb";
- if (!file_exists (pdb.c_str ()))
+ if (!exists (path (pdb)))
{
// Then try the usual naming: foo.pdb.
//
pdb.assign (f, 0, p);
pdb += ".pdb";
- if (!file_exists (pdb.c_str ()))
+ if (!exists (path (pdb)))
pdb.clear ();
}