aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar David Leverton <levertond@googlemail.com> 2013-03-24 18:38:04 +0000
committerAvatar David Leverton <levertond@googlemail.com> 2013-03-24 18:38:04 +0000
commit7381ca6e8b23064a2ff72e88becc8323db2e38d3 (patch)
treec9333ac4d4360dfd9b89a8fd1fc731110ef3aa52
parentfbfc70966ddbbd972dbe22fd1c029ae57e5e066f (diff)
downloadpaludis-7381ca6e8b23064a2ff72e88becc8323db2e38d3.tar.gz
paludis-7381ca6e8b23064a2ff72e88becc8323db2e38d3.tar.xz
Register full path of already-seen symlinks
Should have been done as part of d69251ac.
-rw-r--r--paludis/elf_linkage_checker.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/paludis/elf_linkage_checker.cc b/paludis/elf_linkage_checker.cc
index 734daec..93c4fcd 100644
--- a/paludis/elf_linkage_checker.cc
+++ b/paludis/elf_linkage_checker.cc
@@ -229,6 +229,11 @@ Imp<ElfLinkageChecker>::handle_library(const FSPath & file, const ElfArchitectur
join(second_iterator(range.first), second_iterator(range.second), " ");
std::transform(second_iterator(range.first), second_iterator(range.second),
std::back_inserter(libraries[arch]), std::mem_fn(&FSPath::basename));
+ using namespace std::placeholders;
+ std::transform(second_iterator(range.first), second_iterator(range.second),
+ std::back_inserter(libraries[arch]),
+ std::bind(static_cast<std::string (*)(const FSPath &)>(stringify),
+ std::bind(&FSPath::strip_leading, _1, root)));
}
}