Ticket #1062: stage.jam.patch

File stage.jam.patch, 1.2 KB (added by René Rivera, 15 years ago)
  • tools/build/v2/tools/stage.jam

    RCS file: /cvsroot/boost/boost/tools/build/v2/tools/stage.jam,v
    retrieving revision 1.75.2.8
    diff -u -r1.75.2.8 stage.jam
     
    351351   
    352352    rule run ( project name ? : property-set : source : multiple ? )
    353353    {
    354         if [ $(property-set).get <os> ] in NT CYGWIN
     354        if [ $(property-set).get <os> ] in NT CYGWIN ||
     355            [ $(property-set).get <target-os> ] in windows cygwin
    355356        {
    356357            # Relinking is never needed on NT
    357358            return [ stage.copy-file $(project)
     
    383384   
    384385    rule run ( project name ? : property-set : source : multiple ? )
    385386    {                       
    386         if [ $(property-set).get <os> ] = NT
     387        if [ $(property-set).get <os> ] in NT CYGWIN ||
     388            [ $(property-set).get <target-os> ] in windows cygwin
    387389        {
    388390            local copied = [ stage.copy-file $(project)
    389391              : $(source) : $(property-set) ] ;