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

Localize the right variable. Prior to this change, .active-generators could be incorrectly restored in nested calls to construct causing generators to vanish mysteriously.

This commit is contained in:
Steven Watanabe
2017-07-22 18:56:16 -06:00
parent 8d8d0d9ba7
commit 4052b0d4cd

View File

@@ -1347,7 +1347,7 @@ local rule construct-really ( project name ? : target-type : property-set :
#
rule construct ( project name ? : target-type : property-set * : sources * : top-level ? )
{
local saved-stack ;
local saved-active ;
if $(top-level)
{
saved-active = $(.active-generators) ;