Skip to content
Snippets Groups Projects
Commit 28181562 authored by Mike McQuaid's avatar Mike McQuaid Committed by GitHub
Browse files

Merge pull request #954 from aw1621107/require-scons-only-immediate-dep

Make scons use stdenv only if immediate build dep
parents 09929516 71063aa2
No related branches found
No related tags found
No related merge requests found
......@@ -562,7 +562,7 @@ class FormulaInstaller
if ARGV.env
args << "--env=#{ARGV.env}"
elsif formula.env.std? || formula.recursive_dependencies.any? { |d| d.name == "scons" }
elsif formula.env.std? || formula.deps.select(&:build?).any? { |d| d.name == "scons" }
args << "--env=std"
end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment