aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/target.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 13:08:02 +0200
commitb3ab281662fec0a034984e00d527e1741b657f12 (patch)
treeac27d71678d3b3c16cea15eaa763f36ecd1f44a9 /libbuild2/target.cxx
parentfd411d676064b57f652a7ad0e60e1f3de77a2fc9 (diff)
Extend special match_rule() logic to all groups with dynamic targets
Diffstat (limited to 'libbuild2/target.cxx')
-rw-r--r--libbuild2/target.cxx6
1 files changed, 5 insertions, 1 deletions
diff --git a/libbuild2/target.cxx b/libbuild2/target.cxx
index c1002b9..6b2c702 100644
--- a/libbuild2/target.cxx
+++ b/libbuild2/target.cxx
@@ -1263,7 +1263,11 @@ namespace build2
nullptr,
nullptr,
&target_search,
- target_type::flag::group
+ //
+ // Note that the dyn_members semantics is used not only to handle
+ // depdb-dyndep --dyn-target, but also pattern rule-static members.
+ //
+ target_type::flag::group | target_type::flag::dyn_members
};
// alias