From 1b1d1434539c4c198caab4f3a45ade9e6827427b Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Sat, 23 Apr 2016 09:17:48 +0200 Subject: Revert back to using root scope in src_out()/out_src() Relaxing it to base was not wise since we can have "sideways" prerequisites (those from parallel directories such as brep's ../web/*). --- build2/parser.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'build2/parser.cxx') 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 ()); -- cgit v1.1