aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/buildfile
diff options
context:
space:
mode:
Diffstat (limited to 'libbuild2/buildfile')
-rw-r--r--libbuild2/buildfile10
1 files changed, 9 insertions, 1 deletions
diff --git a/libbuild2/buildfile b/libbuild2/buildfile
index 7b88fd4..539e4e6 100644
--- a/libbuild2/buildfile
+++ b/libbuild2/buildfile
@@ -5,7 +5,15 @@
# NOTE: remember to update bundled_modules in libbuild2/module.cxx if adding a
# new module.
#
-./: lib{build2} bash/ bin/ c/ cc/ cxx/ in/ version/
+bundled_modules = bash/ bin/ c/ cc/ cxx/ in/ version/
+
+./: lib{build2} $bundled_modules
+
+# Note that we have to load these buildfiles explicitly in order to have their
+# imports processed before the $config.save() call below. Failed that, we will
+# get a warning about saving unused config.import.* values.
+#
+include $bundled_modules
# A module should treat lib{build2} as an "implied interface dependency"
# meaning that it can link it as an implementation dependency and assume that