aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 734daece3..93c4fcda6 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)));
}
}