diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2016-08-12 16:23:37 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2016-08-12 17:04:22 +0200 |
commit | 83b5af87efef571b707fc1f409f22571a9f5054c (patch) | |
tree | 4961218154dbe2237f017b9e068ffe80fa025ed7 /build2/dist | |
parent | 0fd7815cbc6557811df4f1b6ffb40461474b8534 (diff) |
Add support for ordering modules in config.build
Diffstat (limited to 'build2/dist')
-rw-r--r-- | build2/dist/module.cxx | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/build2/dist/module.cxx b/build2/dist/module.cxx index eed9562..2da75c4 100644 --- a/build2/dist/module.cxx +++ b/build2/dist/module.cxx @@ -91,6 +91,12 @@ namespace build2 // bool s (config::specified (r, "config.dist")); + // Adjust module priority so that the config.dist.* values are saved at + // the end of config.build. + // + if (s) + config::save_module (r, "dist", INT32_MAX); + // dist.root // { |