diff options
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; |