diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2021-01-11 11:53:59 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2021-01-11 11:53:59 +0200 |
commit | 3740ef0a57116e35445379b8cc31868718729889 (patch) | |
tree | 22e490e578154d3a62dd7888f020e5d29215eef6 /libbuild2/bin/init.cxx | |
parent | 79b711b31f295bbfafb5e239131bd57006775f23 (diff) |
Fix libul{} rule diagnostics
Diffstat (limited to 'libbuild2/bin/init.cxx')
-rw-r--r-- | libbuild2/bin/init.cxx | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/libbuild2/bin/init.cxx b/libbuild2/bin/init.cxx index 6d2d2c2..ff00e89 100644 --- a/libbuild2/bin/init.cxx +++ b/libbuild2/bin/init.cxx @@ -29,7 +29,8 @@ namespace build2 { namespace bin { - static const fail_rule fail_; + static const obj_rule obj_; + static const libul_rule libul_; static const lib_rule lib_; // Default config.bin.*.lib values. @@ -563,17 +564,17 @@ namespace build2 { auto& r (bs.rules); - r.insert<obj> (perform_update_id, "bin.obj", fail_); - r.insert<obj> (perform_clean_id, "bin.obj", fail_); + r.insert<obj> (perform_update_id, "bin.obj", obj_); + r.insert<obj> (perform_clean_id, "bin.obj", obj_); - r.insert<bmi> (perform_update_id, "bin.bmi", fail_); - r.insert<bmi> (perform_clean_id, "bin.bmi", fail_); + r.insert<bmi> (perform_update_id, "bin.bmi", obj_); + r.insert<bmi> (perform_clean_id, "bin.bmi", obj_); - r.insert<hbmi> (perform_update_id, "bin.hbmi", fail_); - r.insert<hbmi> (perform_clean_id, "bin.hbmi", fail_); + r.insert<hbmi> (perform_update_id, "bin.hbmi", obj_); + r.insert<hbmi> (perform_clean_id, "bin.hbmi", obj_); - r.insert<libul> (perform_update_id, "bin.libul", fail_); - r.insert<libul> (perform_clean_id, "bin.libul", fail_); + r.insert<libul> (perform_update_id, "bin.libul", libul_); + r.insert<libul> (perform_clean_id, "bin.libul", libul_); // Similar to alias. // |