aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew
diff options
context:
space:
mode:
authorMax Howell2011-08-05 13:19:10 +0100
committerMax Howell2011-08-24 22:30:44 +0100
commit22b829b2d98b8d36954f06262bd202f4178e299c (patch)
tree57917ba92bf60cdcf80df2ce2c6999aeda91ba2e /Library/Homebrew
parent31b51d09775d207e7b7a94a6dbec42cfe0274bf6 (diff)
downloadhomebrew-22b829b2d98b8d36954f06262bd202f4178e299c.tar.bz2
Recursively scan for keg-only deps before generating build ENV
Remove cairo dep from gtk formula as a consequence.
Diffstat (limited to 'Library/Homebrew')
-rwxr-xr-xLibrary/Homebrew/build.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/build.rb b/Library/Homebrew/build.rb
index 9844ef401..36c3da268 100755
--- a/Library/Homebrew/build.rb
+++ b/Library/Homebrew/build.rb
@@ -40,7 +40,7 @@ at_exit do
end
def install f
- f.deps.uniq.each do |dep|
+ f.recursive_deps.uniq.each do |dep|
dep = Formula.factory dep
if dep.keg_only?
ENV.prepend 'LDFLAGS', "-L#{dep.lib}"