diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2016-04-23 09:17:48 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2016-04-23 09:17:48 +0200 |
commit | 1b1d1434539c4c198caab4f3a45ade9e6827427b (patch) | |
tree | ea16012a180341af8d0771e6febdcd8ecb4d4714 /build2/search.cxx | |
parent | decfe7243b6eedb4ed3d1ac5005345745e5fce61 (diff) |
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/*).
Diffstat (limited to 'build2/search.cxx')
-rw-r--r-- | build2/search.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
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; |