|
Boost-Commit : |
From: kbelco_at_[hidden]
Date: 2008-03-11 13:57:55
Author: noel_belcourt
Date: 2008-03-11 13:57:54 EDT (Tue, 11 Mar 2008)
New Revision: 43566
URL: http://svn.boost.org/trac/boost/changeset/43566
Log:
A user-config.jam that defined multiple python toolsets exposed
an error in the python.jam init rule. Moved the feature
definition out of the init rule to avoid the feature redefinition
error.
Text files modified:
trunk/tools/build/v2/tools/python.jam | 11 +++++------
1 files changed, 5 insertions(+), 6 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-03-11 13:57:54 EDT (Tue, 11 Mar 2008)
@@ -55,6 +55,11 @@
# Extra library needed by phtread on some platforms.
lib rt ;
+# The pythonpath feature specifies additional elements for the PYTHONPATH
+# environment variable, set by run-pyd. For example, pythonpath can be used
+# to access Python modules that are part of the product being built, but
+# are not installed in the development system's default paths.
+feature.feature pythonpath : : free optional path ;
# Initializes the Python toolset. Note that all parameters are
# optional.
@@ -111,12 +116,6 @@
configure $(version) : $(cmd-or-prefix) : $(includes) : $(libraries) : $(condition) : $(extension-suffix) ;
- # The pythonpath feature specifies additional elements for the PYTHONPATH
- # environment variable, set by run-pyd. For example, pythonpath can be used
- # to access Python modules that are part of the product being built, but
- # are not installed in the development system's default paths.
- feature.feature pythonpath : : free optional path ;
-
project.pop-current ;
}
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