From 9bea2f465cc2b47e06d65d6a29cb0f0f0c37f29c Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Mon, 29 May 2023 07:56:33 +0200 Subject: Extend special match_rule() logic to all groups with dynamic targets --- libbuild2/adhoc-rule-buildscript.cxx | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) (limited to 'libbuild2/adhoc-rule-buildscript.cxx') 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 () : nullptr) { @@ -681,11 +680,10 @@ namespace build2 if (g != nullptr) { pair 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); -- cgit v1.1