aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/adhoc-rule-buildscript.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2023-05-29 07:56:33 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2023-05-29 14:12:00 +0200
commit9bea2f465cc2b47e06d65d6a29cb0f0f0c37f29c (patch)
tree5eb14ac196fce453c33c06c497e25b8d8f9259a1 /libbuild2/adhoc-rule-buildscript.cxx
parent59014204d94e67d243cce45ff83ca85212237433 (diff)
Extend special match_rule() logic to all groups with dynamic targets
Diffstat (limited to 'libbuild2/adhoc-rule-buildscript.cxx')
-rw-r--r--libbuild2/adhoc-rule-buildscript.cxx12
1 files changed, 5 insertions, 7 deletions
diff --git a/libbuild2/adhoc-rule-buildscript.cxx b/libbuild2/adhoc-rule-buildscript.cxx
index cd760b4..cf45699 100644
--- a/libbuild2/adhoc-rule-buildscript.cxx
+++ b/libbuild2/adhoc-rule-buildscript.cxx
@@ -295,8 +295,7 @@ namespace build2
{
tracer trace ("adhoc_buildscript_rule::apply");
- // Handle matching explicit group members (see adhoc_rule::match() for
- // background).
+ // Handle matching group members (see adhoc_rule::match() for background).
//
if (const group* g = t.group != nullptr ? t.group->is_a<group> () : nullptr)
{
@@ -681,11 +680,10 @@ namespace build2
if (g != nullptr)
{
pair<const build2::file&, bool> r (
- dyndep::inject_group_member (
- what,
- a, bs, *g,
- move (f),
- map_ext, def_tt, filter, true /* skip_match */));
+ dyndep::inject_group_member (what,
+ a, bs, *g,
+ move (f),
+ map_ext, def_tt, filter));
if (r.second)
g->members.push_back (&r.first);