Merge pull request #16422 from Bo98/build-fix
build: fix bad modify_build_environment call
This commit is contained in:
commit
a782847293
@ -91,7 +91,6 @@ class Build
|
|||||||
env: args.env, cc: args.cc, build_bottle: args.build_bottle?, bottle_arch: args.bottle_arch,
|
env: args.env, cc: args.cc, build_bottle: args.build_bottle?, bottle_arch: args.bottle_arch,
|
||||||
)
|
)
|
||||||
end
|
end
|
||||||
deps.each(&:modify_build_environment)
|
|
||||||
else
|
else
|
||||||
ENV.setup_build_environment(
|
ENV.setup_build_environment(
|
||||||
formula: formula,
|
formula: formula,
|
||||||
@ -105,7 +104,6 @@ class Build
|
|||||||
env: args.env, cc: args.cc, build_bottle: args.build_bottle?, bottle_arch: args.bottle_arch,
|
env: args.env, cc: args.cc, build_bottle: args.build_bottle?, bottle_arch: args.bottle_arch,
|
||||||
)
|
)
|
||||||
end
|
end
|
||||||
deps.each(&:modify_build_environment)
|
|
||||||
|
|
||||||
keg_only_deps.each do |dep|
|
keg_only_deps.each do |dep|
|
||||||
ENV.prepend_path "PATH", dep.opt_bin.to_s
|
ENV.prepend_path "PATH", dep.opt_bin.to_s
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user