Do not bundle dependencies of platformthemes, should fix #236
This commit is contained in:
@@ -357,6 +357,11 @@ LddInfo findDependencyInfo(const QString &binaryPath)
|
|||||||
ldd.start("ldd", QStringList() << binaryPath);
|
ldd.start("ldd", QStringList() << binaryPath);
|
||||||
ldd.waitForFinished();
|
ldd.waitForFinished();
|
||||||
|
|
||||||
|
if (binaryPath.contains("platformthemes")) {
|
||||||
|
LogDebug() << "Skipping" << binaryPath << "because we do not bundle dependencies of platformthemes";
|
||||||
|
return info;
|
||||||
|
}
|
||||||
|
|
||||||
if (ldd.exitStatus() != QProcess::NormalExit || ldd.exitCode() != 0) {
|
if (ldd.exitStatus() != QProcess::NormalExit || ldd.exitCode() != 0) {
|
||||||
LogError() << "findDependencyInfo:" << ldd.readAllStandardError();
|
LogError() << "findDependencyInfo:" << ldd.readAllStandardError();
|
||||||
return info;
|
return info;
|
||||||
@@ -391,7 +396,7 @@ LddInfo findDependencyInfo(const QString &binaryPath)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if ((binaryPath.contains(".so.") || binaryPath.endsWith(".so")) && (!lddOutputContainsLinuxVDSO(output)) && (!binaryPath.contains("platformthemes"))) {
|
if ((binaryPath.contains(".so.") || binaryPath.endsWith(".so")) && (!lddOutputContainsLinuxVDSO(output))) {
|
||||||
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);
|
||||||
|
|||||||
Reference in New Issue
Block a user