aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/bin/init.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'libbuild2/bin/init.cxx')
-rw-r--r--libbuild2/bin/init.cxx6
1 files changed, 5 insertions, 1 deletions
diff --git a/libbuild2/bin/init.cxx b/libbuild2/bin/init.cxx
index 2b1df97..563a82f 100644
--- a/libbuild2/bin/init.cxx
+++ b/libbuild2/bin/init.cxx
@@ -29,7 +29,8 @@ namespace build2
namespace bin
{
static const obj_rule obj_;
- static const libul_rule libul_;
+ static const libul_rule libul_ (false);
+ static const libul_rule libul_metadata_ (true);
static const lib_rule lib_;
static const def_rule def_;
@@ -576,6 +577,9 @@ namespace build2
r.insert<libul> (perform_update_id, "bin.libul", libul_);
r.insert<libul> (perform_clean_id, "bin.libul", libul_);
+ r.insert<libul> (perform_update_id, "bin.metadata", libul_metadata_);
+ r.insert<libul> (perform_clean_id, "bin.metadata", libul_metadata_);
+
// Similar to alias.
//
r.insert<lib> (perform_id, 0, "bin.lib", lib_);