1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-22 23:02:37 +00:00

osxbundle: fix recursion termination

Prevents the binary from being copied over to the lib directory.
This commit is contained in:
Tsukasa OMOTO 2014-05-23 22:37:21 +09:00 committed by Stefano Pigozzi
parent 30fc1a42be
commit 0304c4f92d

View File

@ -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: