Skip to content

Commit

Permalink
Merge pull request #16422 from Bo98/build-fix
Browse files Browse the repository at this point in the history
build: fix bad modify_build_environment call
  • Loading branch information
Bo98 authored Jan 2, 2024
2 parents 734123f + fb52432 commit a782847
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions Library/Homebrew/build.rb
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,6 @@ def install
env: args.env, cc: args.cc, build_bottle: args.build_bottle?, bottle_arch: args.bottle_arch,
)
end
deps.each(&:modify_build_environment)
else
ENV.setup_build_environment(
formula: formula,
Expand All @@ -105,7 +104,6 @@ def install
env: args.env, cc: args.cc, build_bottle: args.build_bottle?, bottle_arch: args.bottle_arch,
)
end
deps.each(&:modify_build_environment)

keg_only_deps.each do |dep|
ENV.prepend_path "PATH", dep.opt_bin.to_s
Expand Down

0 comments on commit a782847

Please sign in to comment.