aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/config
diff options
context:
space:
mode:
Diffstat (limited to 'libbuild2/config')
-rw-r--r--libbuild2/config/init.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/libbuild2/config/init.cxx b/libbuild2/config/init.cxx
index b8ba31d..776299c 100644
--- a/libbuild2/config/init.cxx
+++ b/libbuild2/config/init.cxx
@@ -27,6 +27,7 @@ namespace build2
namespace config
{
static const file_rule file_rule_ (true /* check_type */);
+ static const noop_rule noop_rule_ (true /* exclude_group */);
void
functions (function_map&); // functions.cxx
@@ -733,7 +734,7 @@ namespace build2
// This allows a custom configure rule while doing nothing by default.
//
- rs.insert_rule<target> (configure_id, 0, "config.noop", noop_rule::instance);
+ rs.insert_rule<target> (configure_id, 0, "config.noop", noop_rule_);
// We need this rule for out-of-any-project dependencies (for example,
// libraries imported from /usr/lib). We are registering it on the