aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/requirements/ld64_dependency.rb
blob: 28440321d7b8e42f2eca7c0c39a9b01c59a54cd2 (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 = proc { ENV.ld64 }
    super
  end
end