aboutsummaryrefslogtreecommitdiff
path: root/build2/version
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2017-04-27 08:29:52 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2017-04-27 08:29:52 +0200
commitc2001eb367b9b82e26689cad6f1f74f46c72b904 (patch)
treedb2ee46fc11989d85201ccebaf44f51b978fb313 /build2/version
parent530e19cc8f53f066039967c41bb432111ce98626 (diff)
Pass target to prerequisite search
Diffstat (limited to 'build2/version')
-rw-r--r--build2/version/rule.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/build2/version/rule.cxx b/build2/version/rule.cxx
index 1da37bb..b6f09de 100644
--- a/build2/version/rule.cxx
+++ b/build2/version/rule.cxx
@@ -44,7 +44,7 @@ namespace build2
if (!p.is_a<file> ())
continue;
- const target& pt (p.search ());
+ const target& pt (p.search (t));
if (pt.name != "manifest")
continue;