Merge pull request #11392 from carlocab/duplicate-rpaths
extend/os/mac/keg_relocate: fix relocation of duplicate `RPATH`s
This commit is contained in:
commit
1b1990d05d
@ -94,6 +94,7 @@ class Keg
|
||||
def each_linkage_for(file, linkage_type, &block)
|
||||
links = file.method(linkage_type)
|
||||
.call
|
||||
.uniq
|
||||
.reject { |fn| fn =~ /^@(loader_|executable_|r)path/ }
|
||||
links.each(&block)
|
||||
end
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user