 de6fe2edc1
			
		
	
	
		de6fe2edc1
		
	
	
	
	
		
			
			This reverts commit 6106bfc4976dff2b03cf3fadbbf92dd1fd9e0f09. Fix the error: brew install patchelf ==> Pouring patchelf-0.10.x86_64_linux.bottle.1.tar.gz Error: cannot load such file -- patchelf
		
			
				
	
	
		
			13 lines
		
	
	
		
			318 B
		
	
	
	
		
			Ruby
		
	
	
	
	
	
			
		
		
	
	
			13 lines
		
	
	
		
			318 B
		
	
	
	
		
			Ruby
		
	
	
	
	
	
| # frozen_string_literal: true
 | |
| 
 | |
| # enables experimental readelf.rb, patchelf support.
 | |
| HOMEBREW_PATCHELF_RB = ENV["HOMEBREW_PATCHELF_RB"].present?.freeze
 | |
| 
 | |
| module Homebrew
 | |
|   DEFAULT_PREFIX ||= if Homebrew::EnvConfig.force_homebrew_on_linux?
 | |
|     HOMEBREW_DEFAULT_PREFIX
 | |
|   else
 | |
|     LINUXBREW_DEFAULT_PREFIX
 | |
|   end.freeze
 | |
| end
 |