diff options
author | Federico Bond <federicobond@gmail.com> | 2014-07-09 20:50:30 -0300 |
---|---|---|
committer | Federico Bond <federicobond@gmail.com> | 2014-07-09 20:50:30 -0300 |
commit | 502972f16bae79cf025bf9b63ec8276bc4a236bb (patch) | |
tree | a99c54f7f25edf8b0e6bba1eeb9e49875416c3cc | |
parent | 21876d38310f07befd5d7967fd68adf923eef6ba (diff) |
Fix Error: No file at @loader_path/libboost_system-mt.dylib
-rwxr-xr-x | contrib/macdeploy/macdeployqtplus | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/contrib/macdeploy/macdeployqtplus b/contrib/macdeploy/macdeployqtplus index ce4169a410..fdad28018f 100755 --- a/contrib/macdeploy/macdeployqtplus +++ b/contrib/macdeploy/macdeployqtplus @@ -211,6 +211,7 @@ def getFrameworks(binaryPath, verbose): libraries = [] for line in otoolLines: + line = line.replace("@loader_path", os.path.dirname(binaryPath)) info = FrameworkInfo.fromOtoolLibraryLine(line.strip()) if info is not None: if verbose >= 3: @@ -307,7 +308,7 @@ def deployFrameworks(frameworks, bundlePath, binaryPath, strip, verbose, deploym if deploymentInfo.qtPath is None and framework.isQtFramework(): deploymentInfo.detectQtPath(framework.frameworkDirectory) - if framework.installName.startswith("@executable_path"): + if framework.installName.startswith("@executable_path") or framework.installName.startswith(bundlePath): if verbose >= 2: print framework.frameworkName, "already deployed, skipping." continue |