diff options
Diffstat (limited to 'libbuild2/target.cxx')
-rw-r--r-- | libbuild2/target.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/libbuild2/target.cxx b/libbuild2/target.cxx index 6ba12b9..a686fc2 100644 --- a/libbuild2/target.cxx +++ b/libbuild2/target.cxx @@ -182,13 +182,13 @@ namespace build2 { if (!target_only) { - //@@ TODO: dir name + target_key tk (key ()); + target_key gk (g != nullptr ? g->key () : target_key {}); + auto p (base_scope ().lookup_original ( var, - &type (), - &name, - g != nullptr ? &g->type () : nullptr, - g != nullptr ? &g->name : nullptr)); + &tk, + g != nullptr ? &gk : nullptr)); r.first = move (p.first); r.second = r.first ? r.second + p.second : p.second; |