Don't list duplicate dylibs for universal

This commit is contained in:
FX Coudert 2017-03-04 14:05:32 +01:00
parent 56ee2460f1
commit ac8dd9ae7d

View File

@ -54,7 +54,7 @@ module MachOShim
def dynamically_linked_libraries(except: :none)
lcs = macho.dylib_load_commands.reject { |lc| lc.type == except }
lcs.map(&:name).map(&:to_s)
lcs.map(&:name).map(&:to_s).uniq
end
def dylib_id