diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2023-05-29 07:56:33 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2023-05-29 13:08:02 +0200 |
commit | b3ab281662fec0a034984e00d527e1741b657f12 (patch) | |
tree | ac27d71678d3b3c16cea15eaa763f36ecd1f44a9 /libbuild2/adhoc-rule-buildscript.cxx | |
parent | fd411d676064b57f652a7ad0e60e1f3de77a2fc9 (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.cxx | 12 |
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); |