aboutsummaryrefslogtreecommitdiff
path: root/build2/rule.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'build2/rule.cxx')
-rw-r--r--build2/rule.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/build2/rule.cxx b/build2/rule.cxx
index fc80816..85f4e36 100644
--- a/build2/rule.cxx
+++ b/build2/rule.cxx
@@ -116,7 +116,7 @@ namespace build2
// to unchanged. This is an important optimization on which quite a few
// places that deal with predominantly static content rely.
//
- if (!t.has_prerequisites ())
+ if (!t.has_group_prerequisites ()) // Group as in match_prerequisites().
return noop_recipe;
// Match all the prerequisites.