diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2022-01-21 09:03:28 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2022-01-21 09:03:28 +0200 |
commit | d2b8ba3e586a17e78b480c129bfcf24d6e05bade (patch) | |
tree | 5e823668df3d8138a0285146ad6de1c863b57c8a /libbuild2/cc | |
parent | 214f1f05dfb3f2ae2090e491f3dd78836076c2e0 (diff) |
Add search_new() and search_new_locked() variants of search()
Diffstat (limited to 'libbuild2/cc')
-rw-r--r-- | libbuild2/cc/link-rule.cxx | 4 |
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 |