aboutsummaryrefslogtreecommitdiff
path: root/build2/bin/rule.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'build2/bin/rule.cxx')
-rw-r--r--build2/bin/rule.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/build2/bin/rule.cxx b/build2/bin/rule.cxx
index 3ea8e75..fd1526e 100644
--- a/build2/bin/rule.cxx
+++ b/build2/bin/rule.cxx
@@ -53,8 +53,8 @@ namespace build2
fail << "unknown library type: " << type <<
info << "'static', 'shared', or 'both' expected";
- t.a = a ? &search<liba> (t.dir, t.out, t.name) : nullptr;
- t.s = s ? &search<libs> (t.dir, t.out, t.name) : nullptr;
+ t.a = a ? &search<liba> (t, t.dir, t.out, t.name) : nullptr;
+ t.s = s ? &search<libs> (t, t.dir, t.out, t.name) : nullptr;
match_result mr (true);