Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r57545 - trunk/tools/build/v2/tools
From: grafikrobot_at_[hidden]
Date: 2009-11-10 12:20:51


Author: grafik
Date: 2009-11-10 12:20:51 EST (Tue, 10 Nov 2009)
New Revision: 57545
URL: http://svn.boost.org/trac/boost/changeset/57545

Log:
Fix generating invalid feature values for OSX version to target.
Text files modified:
   trunk/tools/build/v2/tools/darwin.jam | 12 ++++++++----
   1 files changed, 8 insertions(+), 4 deletions(-)

Modified: trunk/tools/build/v2/tools/darwin.jam
==============================================================================
--- trunk/tools/build/v2/tools/darwin.jam (original)
+++ trunk/tools/build/v2/tools/darwin.jam 2009-11-10 12:20:51 EST (Tue, 10 Nov 2009)
@@ -232,10 +232,6 @@
         local sdk-match = [ MATCH ([^0-9]+)([0-9]+)[.]([0-9x]+)[.]?([0-9x]+)? : $(sdk:D=) ] ;
         local sdk-platform = $(sdk-match[1]:L) ;
         local sdk-version = $(sdk-match[2]).$(sdk-match[3]) ;
- if $(sdk-match[4])
- {
- sdk-version = $(sdk-version).$(sdk-match[4]) ;
- }
         if $(sdk-version)
         {
             switch $(sdk-platform)
@@ -246,10 +242,18 @@
                 }
                 case iphoneos :
                 {
+ if $(sdk-match[4])
+ {
+ sdk-version = $(sdk-version).$(sdk-match[4]) ;
+ }
                     sdk-version = iphone-$(sdk-version) ;
                 }
                 case iphonesimulator :
                 {
+ if $(sdk-match[4])
+ {
+ sdk-version = $(sdk-version).$(sdk-match[4]) ;
+ }
                     sdk-version = iphonesim-$(sdk-version) ;
                 }
                 case * :


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