Boost logo

Boost-Commit :

From: ghost_at_[hidden]
Date: 2008-01-29 01:40:06


Author: vladimir_prus
Date: 2008-01-29 01:40:06 EST (Tue, 29 Jan 2008)
New Revision: 43008
URL: http://svn.boost.org/trac/boost/changeset/43008

Log:
Disable relinking when <target-os> is either windows or cygwin.

Fixes #1062.

Text files modified:
   trunk/tools/build/v2/tools/stage.jam | 6 ++++--
   1 files changed, 4 insertions(+), 2 deletions(-)

Modified: trunk/tools/build/v2/tools/stage.jam
==============================================================================
--- trunk/tools/build/v2/tools/stage.jam (original)
+++ trunk/tools/build/v2/tools/stage.jam 2008-01-29 01:40:06 EST (Tue, 29 Jan 2008)
@@ -361,7 +361,8 @@
 
     rule run ( project name ? : property-set : source : multiple ? )
     {
- if [ $(property-set).get <os> ] in NT CYGWIN
+ if [ $(property-set).get <os> ] in NT CYGWIN ||
+ [ $(property-set).get <target-os> ] in windows cygwin
         {
             # Relinking is never needed on NT
             return [ stage.copy-file $(project)
@@ -397,7 +398,8 @@
 
     rule run ( project name ? : property-set : source : multiple ? )
     {
- if [ $(property-set).get <os> ] = NT
+ if [ $(property-set).get <os> ] in NT CYGWIN ||
+ [ $(property-set).get <target-os> ] in windows cygwin
         {
             local copied = [ stage.copy-file $(project)
               : $(source) : $(property-set) ] ;


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk