mirror of
https://github.com/clementine-player/Clementine
synced 2024-12-23 08:20:01 +01:00
Use absolute path for @loader_path libs
This commit is contained in:
parent
c1b15beb5e
commit
16843da416
10
dist/macdeploy.py
vendored
10
dist/macdeploy.py
vendored
@ -200,11 +200,11 @@ def GetBrokenLibraries(binary):
|
|||||||
elif re.match(r'Breakpad', line):
|
elif re.match(r'Breakpad', line):
|
||||||
continue # Manually added by cmake.
|
continue # Manually added by cmake.
|
||||||
elif re.match(r'^\s*@loader_path', line):
|
elif re.match(r'^\s*@loader_path', line):
|
||||||
# abs_path = os.path.join(
|
abs_path = os.path.join(
|
||||||
# os.path.dirname(binary),
|
os.path.dirname(binary),
|
||||||
# *os.path.split(line)[1:],
|
*os.path.split(line)[1:],
|
||||||
# )
|
)
|
||||||
broken_libs['libs'].append(line)
|
broken_libs['libs'].append(abs_path)
|
||||||
elif re.match(r'^\s*@executable_path', line):
|
elif re.match(r'^\s*@executable_path', line):
|
||||||
# Potentially already fixed library
|
# Potentially already fixed library
|
||||||
relative_path = os.path.join(*line.split('/')[3:])
|
relative_path = os.path.join(*line.split('/')[3:])
|
||||||
|
Loading…
Reference in New Issue
Block a user