aboutsummaryrefslogtreecommitdiff
path: root/build/prerequisite.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2015-02-23 15:56:03 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2015-02-23 15:56:03 +0200
commitfefe0657f29b8db782f7a722dd46b074b991cf08 (patch)
tree62008e350c4f6048a68444fe50c47281643d276a /build/prerequisite.cxx
parent962cb1040670977085f0a187ecc6730608578151 (diff)
Redo rule match/build logic
Now the rule is fully responsible for searching, matching, and building of prerequisites.
Diffstat (limited to 'build/prerequisite.cxx')
-rw-r--r--build/prerequisite.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/build/prerequisite.cxx b/build/prerequisite.cxx
index 84fb869..debafe6 100644
--- a/build/prerequisite.cxx
+++ b/build/prerequisite.cxx
@@ -28,7 +28,7 @@ namespace build
//
if (!p.dir.absolute ())
{
- string s (diagnostic_string (p.scope.path ()));
+ string s (diag_relative_work (p.scope.path ()));
if (!s.empty ())
os << s << path::traits::directory_separator << ": ";
@@ -38,7 +38,7 @@ namespace build
//
if (!p.dir.empty ())
{
- string s (diagnostic_string (p.dir));
+ string s (diag_relative_work (p.dir));
if (!s.empty ())
os << s << path::traits::directory_separator;