aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/rule.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'libbuild2/rule.hxx')
-rw-r--r--libbuild2/rule.hxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/libbuild2/rule.hxx b/libbuild2/rule.hxx
index e29c0b8..217632f 100644
--- a/libbuild2/rule.hxx
+++ b/libbuild2/rule.hxx
@@ -81,7 +81,9 @@ namespace build2
apply (action, target&) const override;
file_rule () {}
+
static const file_rule instance;
+ static const build2::rule_match rule_match;
};
class LIBBUILD2_SYMEXPORT alias_rule: public simple_rule
@@ -197,7 +199,7 @@ namespace build2
// latter does. As a result, we use special-looking "<ad hoc X recipe>"
// names.
//
- build2::rule_match rule_match;
+ const build2::rule_match rule_match;
static const dir_path recipes_build_dir;