From 635f75c7b3fbb6053059827c73a4df52733850e0 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Thu, 11 Feb 2021 09:08:55 +0200 Subject: Generalize process_libraries() to allow no picking installed library member --- libbuild2/cc/common.hxx | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'libbuild2/cc/common.hxx') diff --git a/libbuild2/cc/common.hxx b/libbuild2/cc/common.hxx index 856c0ce..612d081 100644 --- a/libbuild2/cc/common.hxx +++ b/libbuild2/cc/common.hxx @@ -272,16 +272,16 @@ namespace build2 process_libraries ( action, const scope&, - linfo, + optional, const dir_paths&, - const file&, + const mtime_target&, bool, lflags, - const function&, - const function&, - const function&, + const function&, + const function&, + const function&, bool = false, - small_vector* = nullptr) const; + small_vector* = nullptr) const; const target* search_library (action a, @@ -308,12 +308,12 @@ namespace build2 } public: - const file& + const mtime_target& resolve_library (action, const scope&, const name&, const dir_path&, - linfo, + optional, const dir_paths&, optional&) const; -- cgit v1.1