Class: LD64Dependency

Inherits:
Dependency show all
Defined in:
Library/Homebrew/os/mac/ld64_dependency.rb

Overview

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.

Constant Summary

Constants inherited from Dependency

Dependency::DEFAULT_ENV_PROC

Constants included from Dependable

Dependable::RESERVED_TAGS

Instance Attribute Summary

Attributes inherited from Dependency

#env_proc, #name, #option_names, #tags

Instance Method Summary collapse

Methods inherited from Dependency

#==, #_dump, _load, action, expand, #hash, #inspect, keep_but_prune_recursive_deps, merge_repeats, #missing_options, #modify_build_environment, prune, #satisfied?, skip, #to_formula, #to_s

Methods included from Dependable

#build?, #option_tags, #optional?, #options, #recommended?, #required?, #run?

Constructor Details

#initialize(name = "ld64", tags = [:build], env_proc = nil) ⇒ LD64Dependency

Returns a new instance of LD64Dependency



7
8
9
10
# File 'Library/Homebrew/os/mac/ld64_dependency.rb', line 7

def initialize(name = "ld64", tags = [:build], env_proc = nil)
  super
  @env_proc = proc { ENV.ld64 }
end