From fd33511ce7a8c5133b0689211d0a7433bd802f95 Mon Sep 17 00:00:00 2001 From: probonopd Date: Sat, 20 Jan 2018 13:07:37 +0000 Subject: [PATCH] Do not run ldd on platformthemes, don't bundle their dependencies (#217) Do not run ldd on platformthemes, don't bundle their dependencies https://github.com/lupoDharkael/flameshot/issues/86#issuecomment-359160310 --- tools/linuxdeployqt/shared.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/linuxdeployqt/shared.cpp b/tools/linuxdeployqt/shared.cpp index 0e15a13..cbc5fed 100644 --- a/tools/linuxdeployqt/shared.cpp +++ b/tools/linuxdeployqt/shared.cpp @@ -391,7 +391,7 @@ LddInfo findDependencyInfo(const QString &binaryPath) } } - if ((binaryPath.contains(".so.") || binaryPath.endsWith(".so")) && (!lddOutputContainsLinuxVDSO(output))) { + if ((binaryPath.contains(".so.") || binaryPath.endsWith(".so")) && (!lddOutputContainsLinuxVDSO(output)) && (!binaryPath.contains("platformthemes"))) { const QRegularExpressionMatch match = regexp.match(outputLines.first()); if (match.hasMatch()) { info.installName = match.captured(1);