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

When 'stage' is used with <traverse-dependencies>on, do not follow the <use>

property, since it's typically used when only headers are used.

* build/virtual-target.jam (subvariant.all-referenced-targets): Return
  the names of properties.
* tools/stage.jam (stage-target-class.collect-targets): Filter out <use>

Thanks to Jurgen Hunold for the bug report.


[SVN r26052]
This commit is contained in:
Vladimir Prus
2004-11-01 16:10:41 +00:00
parent 531b6ff80b
commit fb138e9ded
4 changed files with 42 additions and 5 deletions

View File

@@ -233,7 +233,15 @@ class stage-target-class : basic-target
{
result += [ $(i).all-referenced-targets ] ;
}
result = [ sequence.unique $(result) ] ;
local result2 ;
for local r in $(result)
{
if $(r:G) != <use>
{
result2 += $(r:G=) ;
}
}
result = [ sequence.unique $(result2) ] ;
}
rule check-for-link-compatibility ( * : * )