Skip to content

Commit 85ebe88

Browse files
authored
Merge pull request #3952 from Homebrew/revert-3911-misfeature
Revert "build: do not skip runtime deps of buildtime deps"
2 parents 799a05c + e0a5284 commit 85ebe88

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Library/Homebrew/build.rb

+2
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,8 @@ def expand_deps
5959
Dependency.prune
6060
elsif dep.build? && dependent != formula
6161
Dependency.prune
62+
elsif dep.build?
63+
Dependency.keep_but_prune_recursive_deps
6264
end
6365
end
6466
end

0 commit comments

Comments
 (0)