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 b5d5ca6..072e931 100644
--- a/build2/bin/rule.cxx
+++ b/build2/bin/rule.cxx
@@ -66,7 +66,7 @@ namespace build2
if (ar)
{
if (t.a == nullptr)
- t.a = &search<liba> (t.dir, t.name, t.ext, nullptr);
+ t.a = &search<liba> (t.dir, t.out, t.name, nullptr, nullptr);
match_only (a, *t.a);
}
@@ -74,7 +74,7 @@ namespace build2
if (so)
{
if (t.so == nullptr)
- t.so = &search<libso> (t.dir, t.name, t.ext, nullptr);
+ t.so = &search<libso> (t.dir, t.out, t.name, nullptr, nullptr);
match_only (a, *t.so);
}