summaryrefslogtreecommitdiffstats
path: root/TOOLS
diff options
context:
space:
mode:
authorTsukasa OMOTO <henry0312@gmail.com>2014-05-23 22:37:21 +0900
committerStefano Pigozzi <stefano.pigozzi@gmail.com>2014-05-25 07:42:40 +0200
commit0304c4f92de185cc5c0a9138c67fab89baf425d3 (patch)
treea9902f45a3955e00eb15c22a62f9d4aa0b620330 /TOOLS
parent30fc1a42be5da85c574547508a0b4c734a98d106 (diff)
downloadmpv-0304c4f92de185cc5c0a9138c67fab89baf425d3.tar.bz2
mpv-0304c4f92de185cc5c0a9138c67fab89baf425d3.tar.xz
osxbundle: fix recursion termination
Prevents the binary from being copied over to the lib directory.
Diffstat (limited to 'TOOLS')
-rwxr-xr-xTOOLS/dylib-unhell.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/TOOLS/dylib-unhell.py b/TOOLS/dylib-unhell.py
index 764d6c351b..2f3a6c611e 100755
--- a/TOOLS/dylib-unhell.py
+++ b/TOOLS/dylib-unhell.py
@@ -61,7 +61,7 @@ def lib_name(lib):
def process_libraries(libs_dict, binary, processed = []):
ls = leafs(libs_dict, processed)
diff = set(ls) - set(processed)
- if diff == set():
+ if diff == set([binary]):
return
for src in diff: