Fix macdeploy script
This commit is contained in:
parent
f55a80b15a
commit
0fa52bc64f
|
@ -192,7 +192,9 @@ def GetBrokenLibraries(binary):
|
|||
continue # unix style system library
|
||||
elif re.match(r'^\s*@executable_path', line) or re.match(r'^\s*@loader_path', line):
|
||||
# Potentially already fixed library
|
||||
relative_path = os.path.join(*line.split('/')[3:])
|
||||
path = line.split('/')[3:]
|
||||
if path:
|
||||
relative_path = os.path.join(*path)
|
||||
if not os.path.exists(os.path.join(frameworks_dir, relative_path)):
|
||||
broken_libs['frameworks'].append(relative_path)
|
||||
elif re.search(r'\w+\.framework', line):
|
||||
|
|
Loading…
Reference in New Issue