Munge mac libraries with @loader_path
This commit is contained in:
parent
1c0c3fc2d2
commit
aea90eb6bb
9
dist/macdeploy.py
vendored
9
dist/macdeploy.py
vendored
@ -199,8 +199,13 @@ def GetBrokenLibraries(binary):
|
||||
continue # unix style system library
|
||||
elif re.match(r'Breakpad', line):
|
||||
continue # Manually added by cmake.
|
||||
elif re.match(r'^\s*@executable_path', line) or re.match(
|
||||
r'^\s*@loader_path', line):
|
||||
elif re.match(r'^\s*@loader_path', line):
|
||||
# abs_path = os.path.join(
|
||||
# os.path.dirname(binary),
|
||||
# *os.path.split(line)[1:],
|
||||
# )
|
||||
broken_libs['libs'].append(line)
|
||||
elif re.match(r'^\s*@executable_path', line):
|
||||
# Potentially already fixed library
|
||||
relative_path = os.path.join(*line.split('/')[3:])
|
||||
if not os.path.exists(os.path.join(frameworks_dir, relative_path)):
|
||||
|
Loading…
x
Reference in New Issue
Block a user