aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/cc/compile-rule.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'libbuild2/cc/compile-rule.cxx')
-rw-r--r--libbuild2/cc/compile-rule.cxx9
1 files changed, 5 insertions, 4 deletions
diff --git a/libbuild2/cc/compile-rule.cxx b/libbuild2/cc/compile-rule.cxx
index ce586bb..40fb5bb 100644
--- a/libbuild2/cc/compile-rule.cxx
+++ b/libbuild2/cc/compile-rule.cxx
@@ -6193,10 +6193,11 @@ namespace build2
const target*& lt;
} d {a, ht, lt};
- auto lib = [&d] (const target* const* lc,
- const string&,
- lflags,
- bool)
+ auto lib = [&d] (
+ const target* const* lc,
+ const small_vector<reference_wrapper<const string>, 2>&,
+ lflags,
+ bool)
{
// It's unfortunate we have no way to bail out.
//