aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/version/init.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'libbuild2/version/init.cxx')
-rw-r--r--libbuild2/version/init.cxx6
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