From 63d1d6f8f4bb6db482b21e728245ebf9eee6b55f Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Fri, 16 Feb 2018 11:30:41 +0200 Subject: Fix group link-up race --- build2/algorithm.cxx | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'build2/algorithm.cxx') diff --git a/build2/algorithm.cxx b/build2/algorithm.cxx index 1c5b6a6..38693bc 100644 --- a/build2/algorithm.cxx +++ b/build2/algorithm.cxx @@ -554,7 +554,7 @@ namespace build2 } group_view - resolve_group_members_impl (action a, const target& g, target_lock l) + resolve_members_impl (action a, const target& g, target_lock l) { // Note that we will be unlocked if the target is already applied. // @@ -625,6 +625,12 @@ namespace build2 return r; } + void + resolve_group_impl (action, const target&, target_lock l) + { + match_impl (l, true /* step */, true /* try_match */); + } + template static void match_prerequisite_range (action a, target& t, R&& r, const scope* s) -- cgit v1.1