2
0
mirror of https://github.com/boostorg/build.git synced 2026-02-10 23:32:20 +00:00

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.



[SVN r43566]
This commit is contained in:
K. Noel Belcourt
2008-03-11 17:57:54 +00:00
parent 2020628f5f
commit fe18a855d5

View File

@@ -55,6 +55,11 @@ lib pthread ;
# 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 @@ rule init ( version ? : cmd-or-prefix ? : includes * : libraries ?
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 ;
}