 1e86730289
			
		
	
	
		1e86730289
		
	
	
	
	
		
			
			Dependency is another similar, related class and it's super confusing to have some Requirements that are named *Dependency. Closes Homebrew/homebrew#38891. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
		
			
				
	
	
		
			12 lines
		
	
	
		
			311 B
		
	
	
	
		
			Ruby
		
	
	
	
	
	
			
		
		
	
	
			12 lines
		
	
	
		
			311 B
		
	
	
	
		
			Ruby
		
	
	
	
	
	
| require 'dependency'
 | |
| 
 | |
| # This special dependency ensures that the Tigerbrew ld64
 | |
| # formula is used as gcc's ld in place of the old version
 | |
| # that comes with the OS.
 | |
| class LD64Dependency < Dependency
 | |
|   def initialize(name='ld64', tags=[:build], env_proc=nil)
 | |
|     super
 | |
|     @env_proc = proc { ENV.ld64 }
 | |
|   end
 | |
| end
 |