macdeployqt: Add back extra `changeInstallName`
This commit is contained in:
parent
2f5b60d548
commit
86b92b20b7
|
@ -861,7 +861,12 @@ void changeInstallName(const QString &bundlePath, const FrameworkInfo &framework
|
|||
} else {
|
||||
deployedInstallName = framework.deployedInstallName;
|
||||
}
|
||||
changeInstallName(framework.installName, deployedInstallName, binary);
|
||||
if (!framework.sourceFilePath.isEmpty()) {
|
||||
changeInstallName(framework.sourceFilePath, deployedInstallName, binary);
|
||||
}
|
||||
if (!framework.installName.isEmpty() && framework.installName != framework.sourceFilePath) {
|
||||
changeInstallName(framework.installName, deployedInstallName, binary);
|
||||
}
|
||||
// Workaround for the case when the library ID name is a symlink, while the dependencies
|
||||
// specified using the canonical path to the library (QTBUG-56814)
|
||||
QFileInfo fileInfo= QFileInfo(framework.installName);
|
||||
|
|
Loading…
Reference in New Issue