From d2b8ba3e586a17e78b480c129bfcf24d6e05bade Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Fri, 21 Jan 2022 09:03:28 +0200 Subject: Add search_new() and search_new_locked() variants of search() --- libbuild2/cc/link-rule.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libbuild2/cc/link-rule.cxx') diff --git a/libbuild2/cc/link-rule.cxx b/libbuild2/cc/link-rule.cxx index 79de01c..551b243 100644 --- a/libbuild2/cc/link-rule.cxx +++ b/libbuild2/cc/link-rule.cxx @@ -976,8 +976,8 @@ namespace build2 // be the group -- we will pick a member in part 2 below. // pair r ( - search_locked ( - t, rtt, d, dir_path (), *cp.tk.name, nullptr, cp.scope)); + search_new_locked ( + ctx, rtt, d, dir_path (), *cp.tk.name, nullptr, cp.scope)); // If we shouldn't clean obj{}, then it is fair to assume we // shouldn't clean the source either (generated source will be in -- cgit v1.1