2
0
mirror of https://github.com/boostorg/build.git synced 2026-02-14 00:32:11 +00:00

Fix generator.clone-and-change-type to preserve rule name

[SVN r49976]
This commit is contained in:
Vladimir Prus
2008-11-28 10:39:02 +00:00
parent 5869317506
commit fb859c65b1

View File

@@ -347,8 +347,13 @@ class generator
}
}
return [ new $(__class__) $(self.id) $(self.composing) :
local g = [ new $(__class__) $(self.id) $(self.composing) :
$(self.source-types) : $(target-types) : $(self.requirements) ] ;
if $(self.rule-name)
{
$(g).set-rule-name $(self.rule-name) ;
}
return $(g) ;
}
# Tries to invoke this generator on the given sources. Returns a list of