diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2021-03-19 15:38:34 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2021-03-19 15:38:34 +0200 |
commit | e94354ceef93f45b0a95f35eee62750876ec936b (patch) | |
tree | 11b454f999e4d7b873eb9be772a7c014fc522e00 /libbuild2/operation.cxx | |
parent | 14b8aa90926bdc7233caa926d81984c6593e1f76 (diff) |
Redo entering of src directories into scope_map
Diffstat (limited to 'libbuild2/operation.cxx')
-rw-r--r-- | libbuild2/operation.cxx | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/libbuild2/operation.cxx b/libbuild2/operation.cxx index 12aba0c..826cfff 100644 --- a/libbuild2/operation.cxx +++ b/libbuild2/operation.cxx @@ -81,7 +81,7 @@ namespace build2 // Create the base scope. Note that its existence doesn't mean it was // already setup as a base scope; it can be the same as root. // - auto i (root.ctx.scopes.rw (root).insert (out_base)); + auto i (root.ctx.scopes.rw (root).insert_out (out_base)); scope& base (setup_base (i, out_base, src_base)); // Load the buildfile unless it is implied. @@ -505,7 +505,9 @@ namespace build2 if (rs.out_path () != out_base || rs.src_path () != src_base) fail (l) << "meta-operation info target must be project root directory"; - setup_base (rs.ctx.scopes.rw (rs).insert (out_base), out_base, src_base); + setup_base (rs.ctx.scopes.rw (rs).insert_out (out_base), + out_base, + src_base); } void |