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/search.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'build2/search.cxx') diff --git a/build2/search.cxx b/build2/search.cxx index cea7a7e..bff69e8 100644 --- a/build2/search.cxx +++ b/build2/search.cxx @@ -146,7 +146,7 @@ namespace build2 if (tk.out->empty ()) { if (pk.scope->out_path () != s) - out = out_src (d, *pk.scope); + out = out_src (d, *pk.scope->root_scope ()); } else out = *tk.out; -- cgit v1.1