Recursively scan for keg-only deps before generating build ENV
Remove cairo dep from gtk formula as a consequence.
This commit is contained in:
parent
45ba18b4d5
commit
b0c6970dec
@ -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}"
|
||||
|
Loading…
x
Reference in New Issue
Block a user