aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/cc
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2022-01-21 09:03:28 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2022-01-21 09:03:28 +0200
commitd2b8ba3e586a17e78b480c129bfcf24d6e05bade (patch)
tree5e823668df3d8138a0285146ad6de1c863b57c8a /libbuild2/cc
parent214f1f05dfb3f2ae2090e491f3dd78836076c2e0 (diff)
Add search_new() and search_new_locked() variants of search()
Diffstat (limited to 'libbuild2/cc')
-rw-r--r--libbuild2/cc/link-rule.cxx4
1 files changed, 2 insertions, 2 deletions
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<target&, ulock> 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