From e4e3b8ad2d8e021f729a2d2299021acce3085c18 Mon Sep 17 00:00:00 2001 From: Carlo Cabrera <30379873+carlocab@users.noreply.github.com> Date: Tue, 18 May 2021 20:02:11 +0100 Subject: [PATCH] Revert "extend/os/mac/keg_relocate: fix relocation of duplicate `RPATH`s" 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. --- Library/Homebrew/extend/os/mac/keg_relocate.rb | 1 - 1 file changed, 1 deletion(-) diff --git a/Library/Homebrew/extend/os/mac/keg_relocate.rb b/Library/Homebrew/extend/os/mac/keg_relocate.rb index 6082207357..7161346eda 100644 --- a/Library/Homebrew/extend/os/mac/keg_relocate.rb +++ b/Library/Homebrew/extend/os/mac/keg_relocate.rb @@ -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