diff --git a/src/tools/stage.jam b/src/tools/stage.jam index 053b3b25a..9aafa9974 100644 --- a/src/tools/stage.jam +++ b/src/tools/stage.jam @@ -77,6 +77,11 @@ class install-target-class : basic-target # Remove the feature on original targets. ps-raw = [ property.change $(ps-raw) : ] ; + # And . If stage target has another stage target + # in sources, then we'll get virtual targets with + # property set. + ps-raw = [ property.change $(ps-raw) : ] ; + local d = [ $(build-property-set).get ] ; ps-raw += $(d:G=) ; @@ -110,7 +115,7 @@ class install-target-class : basic-target targets-to-stage $(source-targets) : $(property-set) ] ; property-set = [ update-location $(property-set) ] ; - + local result ; for local i in $(source-targets) { @@ -118,7 +123,7 @@ class install-target-class : basic-target local new-properties = [ adjust-properties $(i) : $(property-set) ] ; - + # See if something special should be done when staging this # type. It is indicated by presense of special "staged" type local t = [ $(i).type ] ; @@ -386,7 +391,6 @@ rule install ( name : sources * : requirements * : default-build * ) if in $(requirements:G) { - ECHO "NAME IS " $(name) ; errors.user-error "The property is not allowed for the 'install' rule" ; }