diff options
Diffstat (limited to 'pym/_emerge/actions.py')
-rw-r--r-- | pym/_emerge/actions.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pym/_emerge/actions.py b/pym/_emerge/actions.py index 007984eea..215203a2f 100644 --- a/pym/_emerge/actions.py +++ b/pym/_emerge/actions.py @@ -907,7 +907,8 @@ def calc_depclean(settings, trees, ldpath_mtimes, if cleanlist and \ real_vardb._linkmap is not None and \ - myopts.get('--depclean-lib-check') != 'n': + myopts.get("--depclean-lib-check") != "n" and \ + "preserve-libs" not in settings.features: # Check if any of these packages are the sole providers of libraries # with consumers that have not been selected for removal. If so, these |