From: Mike Frysinger <vapier@gentoo.org>
Date: Sat, 1 Apr 2006 04:53:35 +0000 (-0000)
Subject: need to still check makelinks
X-Git-Tag: v2.1_pre8~52
X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=02a6e19658f9ae8f9ef7de8d1082bff4f20c7d33;p=portage.git

need to still check makelinks

svn path=/main/trunk/; revision=3045
---

diff --git a/pym/portage.py b/pym/portage.py
index 331051596..330d9a1da 100644
--- a/pym/portage.py
+++ b/pym/portage.py
@@ -655,7 +655,7 @@ def env_update(makelinks=1, srcroot=None):
 				break
 
 	# Only run ldconfig as needed
-	if ld_cache_update:
+	if (ld_cache_update or makelinks):
 		# ldconfig has very different behaviour between FreeBSD and Linux
 		if ostype=="Linux" or ostype.lower().endswith("gnu"):
 			# We can't update links if we haven't cleaned other versions first, as