Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r74660 - trunk/tools/build/v2/engine
From: ghost_at_[hidden]
Date: 2011-10-02 17:02:26


Author: vladimir_prus
Date: 2011-10-02 17:02:25 EDT (Sun, 02 Oct 2011)
New Revision: 74660
URL: http://svn.boost.org/trac/boost/changeset/74660

Log:
Autodetect Python 2.7 when building Boost.Build engine.

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

Modified: trunk/tools/build/v2/engine/build.jam
==============================================================================
--- trunk/tools/build/v2/engine/build.jam (original)
+++ trunk/tools/build/v2/engine/build.jam 2011-10-02 17:02:25 EDT (Sun, 02 Oct 2011)
@@ -71,7 +71,7 @@
     {
         --python-include = [ .path $(python-location) include ] ;
         --python-lib = ;
- for local v in 26 25 24 23 22
+ for local v in 27 26 25 24 23 22
         {
             --python-lib ?=
                 [ GLOB [ .path $(python-location) libs ] : "python$(v).lib" ]
@@ -94,7 +94,7 @@
     {
         --python-include = ;
         --python-lib = ;
- for local v in 2.6 2.5 2.4 2.3 2.2
+ for local v in 2.7 2.6 2.5 2.4 2.3 2.2
         {
             local inc = [ GLOB [ .path $(python-location) include ] : python$(v) ] ;
             local lib = [ GLOB [ .path $(python-location) lib ] : libpython$(v)* ] ;


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