aboutsummaryrefslogtreecommitdiff
path: root/build2/dist/rule.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'build2/dist/rule.cxx')
-rw-r--r--build2/dist/rule.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/build2/dist/rule.cxx b/build2/dist/rule.cxx
index 205c321..338f7f9 100644
--- a/build2/dist/rule.cxx
+++ b/build2/dist/rule.cxx
@@ -36,7 +36,7 @@ namespace build2
if (p.proj ())
continue;
- const target& pt (p.search ());
+ const target& pt (p.search (t));
// Don't match targets that are outside of our project.
//