Boost logo

Boost-Commit :

From: grafikrobot_at_[hidden]
Date: 2008-02-20 17:50:03


Author: grafik
Date: 2008-02-20 17:50:03 EST (Wed, 20 Feb 2008)
New Revision: 43335
URL: http://svn.boost.org/trac/boost/changeset/43335

Log:
Add the <python.interpreter> to all requirements to allow other toolsets to use the currently configured python instead of relying on python being in the path.
Text files modified:
   trunk/tools/build/v2/tools/python.jam | 5 +++++
   1 files changed, 5 insertions(+), 0 deletions(-)

Modified: trunk/tools/build/v2/tools/python.jam
==============================================================================
--- trunk/tools/build/v2/tools/python.jam (original)
+++ trunk/tools/build/v2/tools/python.jam 2008-02-20 17:50:03 EST (Wed, 20 Feb 2008)
@@ -883,6 +883,11 @@
             usage-requirements += <define>Py_DEBUG ;
         }
     }
+
+ # Global, but conditional, requirements to give access to the interpreter
+ # for general utilities, like other toolsets, that run Python scripts.
+ toolset.add-requirements
+ $(target-requirements:J=,):<python.interpreter>$(interpreter-cmd) ;
 
     # Register the right suffix for extensions.
     register-extension-suffix $(extension-suffix) : $(target-requirements) ;


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