2
0
mirror of https://github.com/boostorg/build.git synced 2026-02-15 13:02:11 +00:00

Autodetect Python 2.7 when building Boost.Build engine.

[SVN r74660]
This commit is contained in:
Vladimir Prus
2011-10-02 21:02:25 +00:00
parent 9c5412361b
commit 66569da42e

View File

@@ -71,7 +71,7 @@ if $(with-python)
{
--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 @@ if $(with-python)
{
--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)* ] ;