1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-08-06 14:16:32 +02:00

Fixup libs that were fixed up but aren't correct anymore (because they reference ../lib while we use ../Frameworks/

This commit is contained in:
Dominik Schmidt
2015-12-10 02:46:20 +01:00
parent 92c66d7252
commit 75427a7af2

View File

@@ -308,7 +308,7 @@ def GetBrokenLibraries(binary):
continue # unix style system library continue # unix style system library
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*@executable_path', line) or re.match(r'^\s*@loader_path', line): elif re.match(r'^\s*@executable_path', line) or re.match(r'^\s*@loader_path', line) and not re.match(r'^\s*@loader_path/../lib', line):
# Potentially already fixed library # Potentially already fixed library
if '.framework' in line: if '.framework' in line:
relative_path = os.path.join(*line.split('/')[3:]) relative_path = os.path.join(*line.split('/')[3:])