diff options
| author | FX Coudert | 2017-03-04 14:05:32 +0100 | 
|---|---|---|
| committer | FX Coudert | 2017-03-04 14:05:32 +0100 | 
| commit | ac8dd9ae7db7fd1aa6854f5d756b58b42cb3ceb6 (patch) | |
| tree | 18c412558ca1e401f8959ce1210a076799c251c3 | |
| parent | 56ee2460f154bd9832109b89f87242accec71e14 (diff) | |
| download | brew-ac8dd9ae7db7fd1aa6854f5d756b58b42cb3ceb6.tar.bz2 | |
Don't list duplicate dylibs for universal
| -rw-r--r-- | Library/Homebrew/os/mac/mach.rb | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/os/mac/mach.rb b/Library/Homebrew/os/mac/mach.rb index 4113a0601..9b53c4979 100644 --- a/Library/Homebrew/os/mac/mach.rb +++ b/Library/Homebrew/os/mac/mach.rb @@ -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  | 
