From 9b8320565fe3a0197d1217792f1705f67e773082 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Sat, 27 Aug 2016 15:05:37 +0200 Subject: Reimplement UNIX rpath using process_library(), -rpath-link is still broken --- build2/cc/link | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'build2/cc/link') diff --git a/build2/cc/link b/build2/cc/link index 84edd36..a12ed5d 100644 --- a/build2/cc/link +++ b/build2/cc/link @@ -44,7 +44,7 @@ namespace build2 file&, bool, bool, - const function&, + const function&, const function, optional> + void + rpath_libraries (strings&, file&, bool, bool) const; + + file& resolve_library (name, scope&, lorder, @@ -93,7 +96,7 @@ namespace build2 lorder lo) const { if (p.target == nullptr) // First check the cache. - p.target = search_library (sysd, usrd, p.key (), lo, nullptr); + p.target = search_library (sysd, usrd, p.key (), lo); return p.target; } @@ -102,8 +105,7 @@ namespace build2 search_library (const dir_paths&, optional&, const prerequisite_key&, - lorder, - bool* sys) const; + lorder) const; // Windows-specific (windows-manifest.cxx). // -- cgit v1.1