Fix compatibility with newer versions of ldd

This commit is contained in:
TheAssassin
2018-10-14 17:05:24 +02:00
parent d2a021d57b
commit b1bf306510

View File

@@ -153,7 +153,7 @@ namespace linuxdeploy {
util::trim(libraryPath);
paths.push_back(bf::absolute(libraryPath));
} else {
if (util::stringContains(line, "not found")) {
if (util::stringContains(line, "=> not found")) {
auto missingLib = line;
static const std::string pattern = "=> not found";
missingLib.erase(missingLib.find(pattern), pattern.size());