diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2020-08-16 10:30:35 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2020-08-16 10:30:35 +0200 |
commit | d91e48ea57b83f7018a25d3f54bba96cf889d66d (patch) | |
tree | aa6376de69751ae0488febc8fb4faed041699687 /libbuild2/version/init.cxx | |
parent | 50bf3956c88ee6341d0023a421d502d604e3da4f (diff) |
Add ability to initialize bootstrapped modules after loading root.build
Diffstat (limited to 'libbuild2/version/init.cxx')
-rw-r--r-- | libbuild2/version/init.cxx | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/libbuild2/version/init.cxx b/libbuild2/version/init.cxx index 681b6a4..7cb5a48 100644 --- a/libbuild2/version/init.cxx +++ b/libbuild2/version/init.cxx @@ -30,7 +30,7 @@ namespace build2 static const in_rule in_rule_; static const manifest_install_rule manifest_install_rule_; - bool + void boot (scope& rs, const location& l, module_boot_extra& extra) { tracer trace ("version::boot"); @@ -279,7 +279,9 @@ namespace build2 rewritten, move (ds))); - return true; // Init first (dist.package, etc). + // Initialize first (dist.package, etc). + // + extra.init = module_boot_init::before_first; } static void |