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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user