aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/algorithm.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'libbuild2/algorithm.cxx')
-rw-r--r--libbuild2/algorithm.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/libbuild2/algorithm.cxx b/libbuild2/algorithm.cxx
index 4793f0a..1ecf4de 100644
--- a/libbuild2/algorithm.cxx
+++ b/libbuild2/algorithm.cxx
@@ -1431,7 +1431,7 @@ namespace build2
// stops at the project boundary).
//
if (!l.defined ())
- l = ctx.global_scope.find (*ctx.var_backlink, t.key ());
+ l = ctx.global_scope.lookup (*ctx.var_backlink, t.key ());
return l ? backlink_test (t, l) : nullopt;
}