Browse Source

Merge pull request #4190

502972f Fix Error: No file at @loader_path/libboost_system-mt.dylib (Federico Bond)
0.10
Wladimir J. van der Laan 11 years ago
parent
commit
f2286a69a9
No known key found for this signature in database
GPG Key ID: 74810B012346C9A6
  1. 3
      contrib/macdeploy/macdeployqtplus

3
contrib/macdeploy/macdeployqtplus

@ -211,6 +211,7 @@ def getFrameworks(binaryPath, verbose):
libraries = [] libraries = []
for line in otoolLines: for line in otoolLines:
line = line.replace("@loader_path", os.path.dirname(binaryPath))
info = FrameworkInfo.fromOtoolLibraryLine(line.strip()) info = FrameworkInfo.fromOtoolLibraryLine(line.strip())
if info is not None: if info is not None:
if verbose >= 3: if verbose >= 3:
@ -307,7 +308,7 @@ def deployFrameworks(frameworks, bundlePath, binaryPath, strip, verbose, deploym
if deploymentInfo.qtPath is None and framework.isQtFramework(): if deploymentInfo.qtPath is None and framework.isQtFramework():
deploymentInfo.detectQtPath(framework.frameworkDirectory) deploymentInfo.detectQtPath(framework.frameworkDirectory)
if framework.installName.startswith("@executable_path"): if framework.installName.startswith("@executable_path") or framework.installName.startswith(bundlePath):
if verbose >= 2: if verbose >= 2:
print framework.frameworkName, "already deployed, skipping." print framework.frameworkName, "already deployed, skipping."
continue continue

Loading…
Cancel
Save