All pastes #473883 Raw Edit

Diff

public text v1 · immutable
·published 2007-05-06 13:57 UTC
rendered paste body
Index: wafadmin/Tools/ccroot.py===================================================================--- wafadmin/Tools/ccroot.py	(revision 1373)+++ wafadmin/Tools/ccroot.py	(working copy)@@ -699,9 +699,15 @@ 		# 2. the case of the libs defined outside 		libs = self.to_list(self.uselib) 		for l in libs:+			lib_is_defined = False 			for v in self.p_flag_vars: 				val=self.env[v+'_'+l]-				if val: self.env.append_value(v, val)+				if val:+					self.env.append_value(v, val)+					lib_is_defined = True+			if not lib_is_defined:+				warning("uselib of %s references library %s which isn't defined" %+							(self.name, l)) 	def process_vnum(self): 		if self.vnum and sys.platform != 'darwin' and sys.platform != 'win32': 			nums=self.vnum.split('.')