Last active
November 13, 2016 10:22
-
-
Save cawka/3025baecf3b05e14311b82210a15320f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/qttools/src/macdeployqt/shared/shared.cpp b/qttools/src/macdeployqt/shared/shared.cpp | |
index 5577265..2d614cb 100644 | |
--- a/qttools/src/macdeployqt/shared/shared.cpp | |
+++ b/qttools/src/macdeployqt/shared/shared.cpp | |
@@ -803,6 +803,10 @@ void changeInstallName(const QString &bundlePath, const FrameworkInfo &framework | |
deployedInstallName = framework.deployedInstallName; | |
} | |
changeInstallName(framework.installName, deployedInstallName, binary); | |
+ QString canonicalInstallName = QFileInfo(framework.installName).canonicalFilePath(); | |
+ if (canonicalInstallName != framework.installName) { | |
+ changeInstallName(canonicalInstallName, deployedInstallName, binary); | |
+ } | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment