Revert "extend/os/mac/keg_relocate: fix relocation of duplicate RPATHs"

Upon reflection, I realised that this is probably a bug in `ruby-macho`,
and should be fixed there instead.

Needs https://github.com/Homebrew/ruby-macho/pull/362.

This reverts commit e8b5eb7e42c925b7cc10c78a029b8c70e4d7965b.
This commit is contained in:
Carlo Cabrera 2021-05-18 20:02:11 +01:00
parent d5b9206905
commit e4e3b8ad2d
No known key found for this signature in database
GPG Key ID: C74D447FC549A1D0

View File

@ -94,7 +94,6 @@ class Keg
def each_linkage_for(file, linkage_type, &block)
links = file.method(linkage_type)
.call
.uniq
.grep_v(/^@(loader_|executable_|r)path/)
links.each(&block)
end