mirror of https://gitlab.com/ita1024/waf.git
Optimize the processing of the targets in bld(rule=)
This commit is contained in:
parent
95951a6f5d
commit
5435fda557
|
@ -750,6 +750,7 @@ def process_subst(self):
|
|||
tgt = getattr(self, 'target', [])
|
||||
if isinstance(tgt, self.path.__class__):
|
||||
tgt = [tgt]
|
||||
else:
|
||||
tgt = [isinstance(x, self.path.__class__) and x or self.path.find_or_declare(x) for x in Utils.to_list(tgt)]
|
||||
|
||||
if len(src) != len(tgt):
|
||||
|
|
Loading…
Reference in New Issue