aboutsummaryrefslogtreecommitdiff
path: root/build2/version/rule.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'build2/version/rule.cxx')
-rw-r--r--build2/version/rule.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/build2/version/rule.cxx b/build2/version/rule.cxx
index 1a41cef..91b8c75 100644
--- a/build2/version/rule.cxx
+++ b/build2/version/rule.cxx
@@ -60,6 +60,9 @@ namespace build2
bool fi (false); // Found in.
for (prerequisite_member p: group_prerequisite_members (a, t))
{
+ if (include (a, t, p) != include_type::normal) // Excluded/ad hoc.
+ continue;
+
fm = fm || manifest_prerequisite (rs, p);
fi = fi || p.is_a<in> ();
}