aboutsummaryrefslogtreecommitdiff
path: root/build2/parser.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'build2/parser.cxx')
-rw-r--r--build2/parser.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/build2/parser.cxx b/build2/parser.cxx
index bd44f27..29af4be 100644
--- a/build2/parser.cxx
+++ b/build2/parser.cxx
@@ -2854,7 +2854,7 @@ namespace build2
scope_->src_path () != scope_->out_path () &&
d.sub (scope_->src_path ()))
{
- out = out_src (d, *scope_);
+ out = out_src (d, *root_);
}
const char* e (p.extension ());