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:
		
							parent
							
								
									d5b9206905
								
							
						
					
					
						commit
						e4e3b8ad2d
					
				@ -94,7 +94,6 @@ class Keg
 | 
				
			|||||||
  def each_linkage_for(file, linkage_type, &block)
 | 
					  def each_linkage_for(file, linkage_type, &block)
 | 
				
			||||||
    links = file.method(linkage_type)
 | 
					    links = file.method(linkage_type)
 | 
				
			||||||
                .call
 | 
					                .call
 | 
				
			||||||
                .uniq
 | 
					 | 
				
			||||||
                .grep_v(/^@(loader_|executable_|r)path/)
 | 
					                .grep_v(/^@(loader_|executable_|r)path/)
 | 
				
			||||||
    links.each(&block)
 | 
					    links.each(&block)
 | 
				
			||||||
  end
 | 
					  end
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user