aboutsummaryrefslogtreecommitdiff
path: root/build2/cc/install.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'build2/cc/install.cxx')
-rw-r--r--build2/cc/install.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/build2/cc/install.cxx b/build2/cc/install.cxx
index 28d7db2..074654b 100644
--- a/build2/cc/install.cxx
+++ b/build2/cc/install.cxx
@@ -23,7 +23,7 @@ namespace build2
install (data&& d, const link& l): common (move (d)), link_ (l) {}
target* install::
- filter (action a, target& t, prerequisite_member p) const
+ filter (slock& ml, action a, target& t, prerequisite_member p) const
{
if (t.is_a<exe> ())
{
@@ -53,11 +53,11 @@ namespace build2
return pt->in (t.weak_scope ()) ? pt : nullptr;
}
- return file_rule::filter (a, t, p);
+ return file_rule::filter (ml, a, t, p);
}
match_result install::
- match (action a, target& t, const string& hint) const
+ match (slock& ml, action a, target& t, const string& hint) const
{
// @@ How do we split the hint between the two?
//
@@ -65,8 +65,8 @@ namespace build2
// We only want to handle installation if we are also the
// ones building this target. So first run link's match().
//
- match_result r (link_.match (a, t, hint));
- return r ? install::file_rule::match (a, t, "") : r;
+ match_result r (link_.match (ml, a, t, hint));
+ return r ? install::file_rule::match (ml, a, t, "") : r;
}
void install::