Browse Source

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
master
probonopd 7 years ago
committed by GitHub
parent
commit
fd33511ce7
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      tools/linuxdeployqt/shared.cpp

2
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);

Loading…
Cancel
Save