From b1bf306510af0a035e40dfd930290d6a4e014cf0 Mon Sep 17 00:00:00 2001 From: TheAssassin Date: Sun, 14 Oct 2018 17:05:24 +0200 Subject: [PATCH] Fix compatibility with newer versions of ldd --- src/core/elf.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/elf.cpp b/src/core/elf.cpp index 5f408dd..f4bbbe2 100644 --- a/src/core/elf.cpp +++ b/src/core/elf.cpp @@ -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());