diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2020-01-27 09:07:09 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2020-01-27 09:07:09 +0200 |
commit | 2169f0e960c6e2b94518c03e6eb0406908b96e65 (patch) | |
tree | 73cfda5d0c7aa38c74104cca89931045db37892e /libbuild2/file.cxx | |
parent | 1abc10223b37d9ead3454a06e176b4b65370a2be (diff) |
Improve module loading API
Diffstat (limited to 'libbuild2/file.cxx')
-rw-r--r-- | libbuild2/file.cxx | 4 |
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. |