From 2169f0e960c6e2b94518c03e6eb0406908b96e65 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Mon, 27 Jan 2020 09:07:09 +0200 Subject: Improve module loading API --- libbuild2/file.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libbuild2/file.cxx') 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. -- cgit v1.1