diff --git a/new/virtual-target.jam b/new/virtual-target.jam index a8a6b5ef1..44a579799 100644 --- a/new/virtual-target.jam +++ b/new/virtual-target.jam @@ -953,21 +953,6 @@ class subvariant-dg self.other-dg += [ $(d:G=).dg ] ; } - for local t in $(virtual-targets) - { - local a = [ $(t).action ] ; - if $(a) - { - for local s in [ $(a).sources ] - { - if [ $(s).root ] - { - self.other-dg += [ $(s).dg ] ; - } - } - } - } - self.other-dg = [ sequence.unique $(self.other-dg) ] ; } diff --git a/v2/build/virtual-target.jam b/v2/build/virtual-target.jam index a8a6b5ef1..44a579799 100644 --- a/v2/build/virtual-target.jam +++ b/v2/build/virtual-target.jam @@ -953,21 +953,6 @@ class subvariant-dg self.other-dg += [ $(d:G=).dg ] ; } - for local t in $(virtual-targets) - { - local a = [ $(t).action ] ; - if $(a) - { - for local s in [ $(a).sources ] - { - if [ $(s).root ] - { - self.other-dg += [ $(s).dg ] ; - } - } - } - } - self.other-dg = [ sequence.unique $(self.other-dg) ] ; }