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

Add multiple requirements for toolset subconditions instead of one composite as they are not supported for conditional requirements. Thanks to Roland for finding the problem.

[SVN r44354]
This commit is contained in:
Rene Rivera
2008-04-12 19:44:47 +00:00
parent df5a46c2a9
commit 7ec865e5bc

View File

@@ -227,7 +227,8 @@ rule check-init-parameters ( toolset requirement * : * )
if $(requirement)
{
local r = <toolset>$(toolset) $(requirement) ;
toolset.add-requirements $(r:J=,):$(subcondition:J=/) ;
r = $(r:J=,) ;
toolset.add-requirements $(r):$(subcondition) ;
}
# We add the requirements, if any, to the condition to scope the toolset