diff --git a/5.15.10/qttools/src/macdeployqt/shared/shared.cpp b/5.15.10/qttools/src/macdeployqt/shared/shared.cpp index 85653ce..f9d4513 100644 --- a/5.15.10/qttools/src/macdeployqt/shared/shared.cpp +++ b/5.15.10/qttools/src/macdeployqt/shared/shared.cpp @@ -208,6 +208,8 @@ OtoolInfo findDependencyInfo(const QString &binaryPath) for (const QString &outputLine : outputLines) { const auto match = regexp.match(outputLine); if (match.hasMatch()) { + if (match.captured(1) == info.installName) + continue; // Another arch reference to the same binary DylibInfo dylib; dylib.binaryPath = match.captured(1); dylib.compatibilityVersion = QVersionNumber::fromString(match.captured(2));