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

Bufgix. Thanks to Jürgen Hunold for the report.

* new/toolset.jam
  (set-target-variable): Call 'path.native' when setting path features.


[SVN r17953]
This commit is contained in:
Vladimir Prus
2003-03-17 07:58:06 +00:00
parent a718621291
commit c23a6069ea
2 changed files with 14 additions and 4 deletions

View File

@@ -177,13 +177,18 @@ rule set-target-variables ( rule-or-module targets + : properties * )
local matches = [ property.select $(condition) : $(properties) ] ;
for local p in $(matches)
{
if dependency in [ feature.attributes $(p:G) ]
local att = [ feature.attributes $(p:G) ] ;
if dependency in $(att)
{
# the value of a dependency feature is a target
# and must be actualized
result += [ $(p:G=).actualize ] ;
}
else
else if path in $(att)
{
result += [ path.native $(p:G=) ] ;
}
else
{
result += $(p:G=) ;
}

View File

@@ -177,13 +177,18 @@ rule set-target-variables ( rule-or-module targets + : properties * )
local matches = [ property.select $(condition) : $(properties) ] ;
for local p in $(matches)
{
if dependency in [ feature.attributes $(p:G) ]
local att = [ feature.attributes $(p:G) ] ;
if dependency in $(att)
{
# the value of a dependency feature is a target
# and must be actualized
result += [ $(p:G=).actualize ] ;
}
else
else if path in $(att)
{
result += [ path.native $(p:G=) ] ;
}
else
{
result += $(p:G=) ;
}