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:
@@ -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)* ] ;
|
||||
|
||||
Reference in New Issue
Block a user