From 67db22fcae32c8a8014866ef2ee55b6c7733c3f9 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Tue, 10 Aug 2021 08:57:59 +0200 Subject: Complete process_libraries() duplicate suppression work --- libbuild2/cc/link-rule.hxx | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'libbuild2/cc/link-rule.hxx') diff --git a/libbuild2/cc/link-rule.hxx b/libbuild2/cc/link-rule.hxx index c20844d..23f7167 100644 --- a/libbuild2/cc/link-rule.hxx +++ b/libbuild2/cc/link-rule.hxx @@ -281,14 +281,11 @@ namespace build2 // struct windows_dll { - const string& dll; - const string* pdb; // NULL if none. - string pdb_storage; - - bool operator< (const windows_dll& y) const {return dll < y.dll;} + reference_wrapper dll; + string pdb; // Empty if none. }; - using windows_dlls = set; + using windows_dlls = vector; timestamp windows_rpath_timestamp (const file&, -- cgit v1.1