[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    playground/devtools/waf/wafadmin/Tools
From:       Thomas Nagy <tnagyemail-mail () yahoo ! fr>
Date:       2006-06-30 21:56:48
Message-ID: 1151704608.907673.7157.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 556610 by tnagy:

Annoying recursion.


 M  +6 -2      ccroot.py  


--- trunk/playground/devtools/waf/wafadmin/Tools/ccroot.py #556609:556610
@@ -216,10 +216,14 @@
 		for obj in Object.g_allobjs:
 			# if the object we depend on is not posted we will force it right now
 			if obj.target in self.p_staticlib_deps_names:
-				if not obj.m_posted: obj.post()
+				if not obj.m_posted:
+					if not self is obj:
+						obj.post()
 				self.m_linktask.m_run_after.append(obj.m_linktask)
 			elif obj.target in self.p_shlib_deps_names:
-				if not obj.m_posted: obj.post()
+				if not obj.m_posted:
+					if not self is obj:
+						obj.post()
 				self.m_linktask.m_run_after.append(obj.m_linktask)
 		htbl = Params.g_build.m_depends_on
 		try:
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic