diff --git a/Library/Homebrew/build.rb b/Library/Homebrew/build.rb index 9844ef401f..36c3da268e 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}"