mirror of
https://github.com/boostorg/boost.git
synced 2025-04-06 22:14:59 +00:00
Don't initialize python in project-config.jam if it's already been configured in user-config.jam.
This commit is contained in:
parent
9275200554
commit
edca8b1e93
1 changed files with 5 additions and 1 deletions
|
@ -353,7 +353,11 @@ if test "x$flag_no_python" = x; then
|
|||
cat >> project-config.jam <<EOF
|
||||
|
||||
# Python configuration
|
||||
using python : $PYTHON_VERSION : $PYTHON_ROOT ;
|
||||
import python ;
|
||||
if ! [ python.configured ]
|
||||
{
|
||||
using python : $PYTHON_VERSION : $PYTHON_ROOT ;
|
||||
}
|
||||
EOF
|
||||
fi
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue