This commit is contained in:
kleuter 2022-04-26 11:19:54 +02:00
parent ea50766d42
commit f2ec2ddc38

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