build: don't add implicit dependencies to build environment
This commit is contained in:
parent
c4077aa076
commit
2d1e9eedbf
@ -57,7 +57,7 @@ class Build
|
|||||||
build = effective_build_options_for(dependent)
|
build = effective_build_options_for(dependent)
|
||||||
if dep.prune_from_option?(build) ||
|
if dep.prune_from_option?(build) ||
|
||||||
dep.prune_if_build_and_not_dependent?(dependent, formula) ||
|
dep.prune_if_build_and_not_dependent?(dependent, formula) ||
|
||||||
(dep.test? && !dep.build?)
|
(dep.test? && !dep.build?) || dep.implicit?
|
||||||
Dependency.prune
|
Dependency.prune
|
||||||
elsif dep.build?
|
elsif dep.build?
|
||||||
Dependency.keep_but_prune_recursive_deps
|
Dependency.keep_but_prune_recursive_deps
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user