diff options
Diffstat (limited to 'build2/cc/link')
-rw-r--r-- | build2/cc/link | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/build2/cc/link b/build2/cc/link index 09678c2..84edd36 100644 --- a/build2/cc/link +++ b/build2/cc/link @@ -44,7 +44,7 @@ namespace build2 file&, bool, bool, - const function<void (const path&)>&, + const function<void (const path&, bool)>&, const function<void (file&, const string&, bool, @@ -55,7 +55,7 @@ namespace build2 void hash_libraries (sha256&, file&, bool) const; - file& + pair<reference_wrapper<file>, optional<bool>> resolve_library (name, scope&, lorder, @@ -93,7 +93,7 @@ namespace build2 lorder lo) const { if (p.target == nullptr) // First check the cache. - p.target = search_library (sysd, usrd, p.key (), lo); + p.target = search_library (sysd, usrd, p.key (), lo, nullptr); return p.target; } @@ -102,7 +102,8 @@ namespace build2 search_library (const dir_paths&, optional<dir_paths>&, const prerequisite_key&, - lorder) const; + lorder, + bool* sys) const; // Windows-specific (windows-manifest.cxx). // |