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
This commit is contained in:
probonopd
2018-01-20 13:07:37 +00:00
committed by GitHub
parent cb3e3e62dc
commit fd33511ce7
+1 -1
View File
@@ -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()); const QRegularExpressionMatch match = regexp.match(outputLines.first());
if (match.hasMatch()) { if (match.hasMatch()) {
info.installName = match.captured(1); info.installName = match.captured(1);