aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/file.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'libbuild2/file.cxx')
-rw-r--r--libbuild2/file.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/libbuild2/file.cxx b/libbuild2/file.cxx
index 8d59d7c..be85745 100644
--- a/libbuild2/file.cxx
+++ b/libbuild2/file.cxx
@@ -1245,7 +1245,7 @@ namespace build2
module_state& s (p.second);
if (s.boot && s.first)
- load_module (root, root, p.first, s.loc);
+ init_module (root, root, p.first, s.loc);
}
for (auto& p: root.root_extra->modules)
@@ -1253,7 +1253,7 @@ namespace build2
module_state& s (p.second);
if (s.boot && !s.first)
- load_module (root, root, p.first, s.loc);
+ init_module (root, root, p.first, s.loc);
}
// Load hooks and root.build.