Don't list duplicate dylibs for universal
This commit is contained in:
parent
56ee2460f1
commit
ac8dd9ae7d
@ -54,7 +54,7 @@ module MachOShim
|
|||||||
def dynamically_linked_libraries(except: :none)
|
def dynamically_linked_libraries(except: :none)
|
||||||
lcs = macho.dylib_load_commands.reject { |lc| lc.type == except }
|
lcs = macho.dylib_load_commands.reject { |lc| lc.type == except }
|
||||||
|
|
||||||
lcs.map(&:name).map(&:to_s)
|
lcs.map(&:name).map(&:to_s).uniq
|
||||||
end
|
end
|
||||||
|
|
||||||
def dylib_id
|
def dylib_id
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user