diff options
Diffstat (limited to 'Library/Homebrew/os/mac/ld64_dependency.rb')
| -rw-r--r-- | Library/Homebrew/os/mac/ld64_dependency.rb | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/Library/Homebrew/os/mac/ld64_dependency.rb b/Library/Homebrew/os/mac/ld64_dependency.rb new file mode 100644 index 000000000..a506a0ab2 --- /dev/null +++ b/Library/Homebrew/os/mac/ld64_dependency.rb @@ -0,0 +1,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 |
