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

Do not validate <os> feature in conditions.

[SVN r23314]
This commit is contained in:
Vladimir Prus
2004-07-02 06:46:30 +00:00
parent 1e560a18e0
commit 692bf18e5a

View File

@@ -137,7 +137,8 @@ rule expand-subfeatures-in-conditions ( properties * )
local e ;
for local c in $(condition)
{
if [ MATCH "^(<toolset>|<toolset->)" : $(c:G) ]
if [ MATCH "^(<toolset>|<toolset->)" : $(c:G) ] ||
[ MATCH "^(<os>)" : $(c:G) ]
{
# It common that condition includes a toolset which
# was never defined, or mentiones subfeatures which