aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/requirements/ld64_dependency.rb
blob: 782a508607de43c12b48b5047276fedbe41f3851 (plain)
1
2
3
4
5
6
7
8
9
10
11
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