From df4641613d30945c5cb6b1287946dcdb7acf151e Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Wed, 29 Jun 2011 04:37:08 -0700 Subject: preserve-libs: don't preserve "master" symlink There's no point in preserving the "master" symlink, since the soname symlink is all that's strictly required. --- pym/portage/dbapi/vartree.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pym/portage/dbapi/vartree.py b/pym/portage/dbapi/vartree.py index eacada6b3..b3e6f6a62 100644 --- a/pym/portage/dbapi/vartree.py +++ b/pym/portage/dbapi/vartree.py @@ -2476,7 +2476,10 @@ class dblink(object): continue if have_lib: - preserve_paths.update(preserve_node.alt_paths) + # There's no point in preserving the "master" symlink, since + # the soname symlink is all that's strictly required. + preserve_paths.update(f for f in preserve_node.alt_paths + if not linkmap.isMasterLink(f)) return preserve_paths -- cgit v1.2.3-1-g7c22