From fb5243288bdef9f2c968a9d8551410d38204c82f Mon Sep 17 00:00:00 2001 From: Bo Anderson Date: Tue, 2 Jan 2024 18:32:28 +0000 Subject: [PATCH] build: fix bad modify_build_environment call --- Library/Homebrew/build.rb | 2 -- 1 file changed, 2 deletions(-) diff --git a/Library/Homebrew/build.rb b/Library/Homebrew/build.rb index 7a5d51b425300..bc2c8a52b1ff0 100644 --- a/Library/Homebrew/build.rb +++ b/Library/Homebrew/build.rb @@ -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, @@ -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