Skip to content

Commit

Permalink
Fix Error: No file at @loader_path/libboost_system-mt.dylib
Browse files Browse the repository at this point in the history
  • Loading branch information
federicobond committed Jul 9, 2014
1 parent 21876d3 commit 502972f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion contrib/macdeploy/macdeployqtplus
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 502972f

Please sign in to comment.