aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/target.txx
diff options
context:
space:
mode:
Diffstat (limited to 'libbuild2/target.txx')
-rw-r--r--libbuild2/target.txx2
1 files changed, 1 insertions, 1 deletions
diff --git a/libbuild2/target.txx b/libbuild2/target.txx
index 395e612..0e4d9bf 100644
--- a/libbuild2/target.txx
+++ b/libbuild2/target.txx
@@ -93,7 +93,7 @@ namespace build2
{
// Include target type/pattern-specific variables.
//
- if (auto l = s.find (*s.ctx.var_extension, tt, tn))
+ if (auto l = s.lookup (*s.ctx.var_extension, tt, tn))
{
// Help the user here and strip leading '.' from the extension.
//