2013-04-13 21:11:14 -05:00
|
|
|
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
|
2014-03-22 18:50:24 -07:00
|
|
|
def initialize(name='ld64', tags=[:build], env_proc=nil)
|
2013-04-13 21:11:14 -05:00
|
|
|
super
|
2014-03-23 15:32:11 -07:00
|
|
|
@env_proc = proc { ENV.ld64 }
|
2013-04-13 21:11:14 -05:00
|
|
|
end
|
|
|
|
end
|