This commit is contained in:
kleuter 2022-07-09 14:02:47 +02:00
parent f13ea957b6
commit 32e89b70dc

View File

@ -208,6 +208,8 @@ OtoolInfo findDependencyInfo(const QString &binaryPath)
for (const QString &outputLine : outputLines) { for (const QString &outputLine : outputLines) {
const auto match = regexp.match(outputLine); const auto match = regexp.match(outputLine);
if (match.hasMatch()) { if (match.hasMatch()) {
if (match.captured(1) == info.installName)
continue; // Another arch reference to the same binary
DylibInfo dylib; DylibInfo dylib;
dylib.binaryPath = match.captured(1); dylib.binaryPath = match.captured(1);
dylib.compatibilityVersion = QVersionNumber::fromString(match.captured(2)); dylib.compatibilityVersion = QVersionNumber::fromString(match.captured(2));