From c5f14c1735d1eb1c7df29515da78e3acde15a5a3 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Thu, 5 Aug 2021 15:26:45 +0200 Subject: Implement traversal pruning in process_libraries() --- libbuild2/cc/link-rule.hxx | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'libbuild2/cc/link-rule.hxx') diff --git a/libbuild2/cc/link-rule.hxx b/libbuild2/cc/link-rule.hxx index f990415..fd12e89 100644 --- a/libbuild2/cc/link-rule.hxx +++ b/libbuild2/cc/link-rule.hxx @@ -174,19 +174,22 @@ namespace build2 append_libraries (appended_libraries&, strings&, const scope&, action, const file&, bool, lflags, linfo, - bool = true, bool = true) const; + bool = true, bool = true, + library_cache* = nullptr) const; void append_libraries (sha256&, bool&, timestamp, const scope&, action, - const file&, bool, lflags, linfo) const; + const file&, bool, lflags, linfo, + library_cache* = nullptr) const; using rpathed_libraries = small_vector; void rpath_libraries (rpathed_libraries&, strings&, const scope&, - action, const file&, bool, linfo, bool, bool) const; + action, const file&, bool, linfo, bool, bool, + library_cache* = nullptr) const; void rpath_libraries (strings&, -- cgit v1.1