summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pym/_emerge/depgraph.py7
1 files changed, 5 insertions, 2 deletions
diff --git a/pym/_emerge/depgraph.py b/pym/_emerge/depgraph.py
index f7ea6863d..6c79819d2 100644
--- a/pym/_emerge/depgraph.py
+++ b/pym/_emerge/depgraph.py
@@ -1343,8 +1343,11 @@ class depgraph(object):
ignore_build_time_deps = True
# If rebuild mode is not enabled, it's safe to discard ignored
- # build-time dependencies.
- if ignore_build_time_deps and not self._rebuild.rebuild:
+ # build-time dependencies. However, keep them if "complete" mode
+ # is enabled, since they make the graph more complete.
+ if ignore_build_time_deps and \
+ not self._rebuild.rebuild and \
+ "complete" not in self._dynamic_config.myparams:
edepend["DEPEND"] = ""
deps = (