aboutsummaryrefslogtreecommitdiff
path: root/build2/cc/common.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2018-08-25 17:40:21 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2018-08-25 17:40:21 +0200
commit32e04ad4b4a8dec07836b7c9fcf90fe72a006990 (patch)
tree8a0ce76d3a2f644396348fbf0d3d5d00bab82a0c /build2/cc/common.hxx
parent236497a013790c879e9e798bd68083252b43b057 (diff)
Implement missing pieces in utility libraries support
In particular, we can now build static libraries out of utility libraries.
Diffstat (limited to 'build2/cc/common.hxx')
-rw-r--r--build2/cc/common.hxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/build2/cc/common.hxx b/build2/cc/common.hxx
index 18824cb..d809050 100644
--- a/build2/cc/common.hxx
+++ b/build2/cc/common.hxx
@@ -220,9 +220,10 @@ namespace build2
bool,
lflags,
const function<bool (const file&, bool)>&,
- const function<void (const file*, const string&, lflags, bool)>&,
+ const function<void (const file* const*, const string&, lflags, bool)>&,
const function<void (const file&, const string&, bool, bool)>&,
- bool = false) const;
+ bool = false,
+ small_vector<const file*, 16>* = nullptr) const;
const target*
search_library (action a,