aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorFX Coudert2017-03-04 16:29:38 +0100
committerGitHub2017-03-04 16:29:38 +0100
commite156a5dd43c02b883145ac618847bdcc9387c1ab (patch)
tree18c412558ca1e401f8959ce1210a076799c251c3 /Library
parent56ee2460f154bd9832109b89f87242accec71e14 (diff)
parentac8dd9ae7db7fd1aa6854f5d756b58b42cb3ceb6 (diff)
downloadbrew-e156a5dd43c02b883145ac618847bdcc9387c1ab.tar.bz2
Merge pull request #2251 from fxcoudert/universal
Don't list duplicate dylibs for universal
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/os/mac/mach.rb2
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