Logo
Explore Help
Sign In
admin/brew
1
0
Fork 0
You've already forked brew
Code Issues Packages Projects Releases 6 Wiki Activity
brew/Library/Homebrew/requirements/ld64_dependency.rb

12 lines
311 B
Ruby
Raw Normal View History

Add :ld64 dependency This allows formulae which won't build with Tiger's ld to conditionally request a dependency on the ld64 formula. This modifies the build environment appropriately, and will only be active on Tiger.
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
LD64Dependency: adjust initializer signature The method signature of Dependency changed in 1fdf69b90382c43493a5f62f0020729289db6c70, however LD64Dependency was missed in the update. This resulted in failures in merge_repeats(), which creates many dependency objects using all three arguments.
2014-03-22 18:50:24 -07:00
def initialize(name='ld64', tags=[:build], env_proc=nil)
Add :ld64 dependency This allows formulae which won't build with Tiger's ld to conditionally request a dependency on the ld64 formula. This modifies the build environment appropriately, and will only be active on Tiger.
2013-04-13 21:11:14 -05:00
@env_proc = proc { ENV.ld64 }
super
end
end
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.23.8 Page: 1118ms Template: 17ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API