mirror of
https://github.com/strawberrymusicplayer/strawberry
synced 2025-01-31 17:54:55 +01:00
Fix macdeploy script
This commit is contained in:
parent
f55a80b15a
commit
0fa52bc64f
4
dist/macos/macdeploy.py
vendored
4
dist/macos/macdeploy.py
vendored
@ -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…
x
Reference in New Issue
Block a user