aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/install/rule.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'libbuild2/install/rule.cxx')
-rw-r--r--libbuild2/install/rule.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/libbuild2/install/rule.cxx b/libbuild2/install/rule.cxx
index 901b048..d7b0fc0 100644
--- a/libbuild2/install/rule.cxx
+++ b/libbuild2/install/rule.cxx
@@ -63,8 +63,7 @@ namespace build2
const target* alias_rule::
filter (action, const target& t, const prerequisite& p) const
{
- const target& pt (search (t, p));
- return pt.in (t.weak_scope ()) ? &pt : nullptr;
+ return &search (t, p);
}
recipe alias_rule::