|
|
c59dfe |
--- boost_1_53_0/tools/build/v2/tools/python.jam.orig 2012-04-26 04:35:55.000000000 +0100
|
|
|
c59dfe |
+++ boost_1_53_0/tools/build/v2/tools/python.jam 2016-05-11 15:13:47.628380504 +0100
|
|
|
c59dfe |
@@ -95,7 +95,7 @@ feature.feature pythonpath : : free opti
|
|
|
c59dfe |
# using python : 2.3 : /usr/local/bin/python ;
|
|
|
c59dfe |
#
|
|
|
c59dfe |
rule init ( version ? : cmd-or-prefix ? : includes * : libraries ?
|
|
|
c59dfe |
- : condition * : extension-suffix ? )
|
|
|
c59dfe |
+ : condition * : extension-suffix ? : abi-letters ? )
|
|
|
c59dfe |
{
|
|
|
c59dfe |
project.push-current $(.project) ;
|
|
|
c59dfe |
|
|
|
c59dfe |
@@ -108,7 +108,7 @@ rule init ( version ? : cmd-or-prefix ?
|
|
|
c59dfe |
}
|
|
|
c59dfe |
}
|
|
|
c59dfe |
|
|
|
c59dfe |
- configure $(version) : $(cmd-or-prefix) : $(includes) : $(libraries) : $(condition) : $(extension-suffix) ;
|
|
|
c59dfe |
+ configure $(version) : $(cmd-or-prefix) : $(includes) : $(libraries) : $(condition) : $(extension-suffix) : $(abi-letters) ;
|
|
|
c59dfe |
|
|
|
c59dfe |
project.pop-current ;
|
|
|
c59dfe |
}
|
|
|
c59dfe |
@@ -662,7 +662,7 @@ local rule system-library-dependencies (
|
|
|
c59dfe |
|
|
|
c59dfe |
# Declare a target to represent Python's library.
|
|
|
c59dfe |
#
|
|
|
c59dfe |
-local rule declare-libpython-target ( version ? : requirements * )
|
|
|
c59dfe |
+local rule declare-libpython-target ( version ? : requirements * : abi-letters ? )
|
|
|
c59dfe |
{
|
|
|
c59dfe |
# Compute the representation of Python version in the name of Python's
|
|
|
c59dfe |
# library file.
|
|
|
c59dfe |
@@ -686,13 +686,13 @@ local rule declare-libpython-target ( ve
|
|
|
c59dfe |
}
|
|
|
c59dfe |
|
|
|
c59dfe |
# Declare it.
|
|
|
c59dfe |
- lib python.lib : : <name>python$(lib-version) $(requirements) ;
|
|
|
c59dfe |
+ lib python.lib : : <name>python$(lib-version)$(abi-letters) $(requirements) ;
|
|
|
c59dfe |
}
|
|
|
c59dfe |
|
|
|
c59dfe |
|
|
|
c59dfe |
# Implementation of init.
|
|
|
c59dfe |
local rule configure ( version ? : cmd-or-prefix ? : includes * : libraries ? :
|
|
|
c59dfe |
- condition * : extension-suffix ? )
|
|
|
c59dfe |
+ condition * : extension-suffix ? : abi-letters ? )
|
|
|
c59dfe |
{
|
|
|
c59dfe |
local prefix ;
|
|
|
c59dfe |
local exec-prefix ;
|
|
|
c59dfe |
@@ -708,6 +708,7 @@ local rule configure ( version ? : cmd-o
|
|
|
c59dfe |
extension-suffix ?= _d ;
|
|
|
c59dfe |
}
|
|
|
c59dfe |
extension-suffix ?= "" ;
|
|
|
c59dfe |
+ abi-letters ?= "" ;
|
|
|
c59dfe |
|
|
|
c59dfe |
# Normalize and dissect any version number.
|
|
|
c59dfe |
local major-minor ;
|
|
|
c59dfe |
@@ -931,7 +932,7 @@ local rule configure ( version ? : cmd-o
|
|
|
c59dfe |
}
|
|
|
c59dfe |
else
|
|
|
c59dfe |
{
|
|
|
c59dfe |
- declare-libpython-target $(version) : $(target-requirements) ;
|
|
|
c59dfe |
+ declare-libpython-target $(version) : $(target-requirements) : $(abi-letters) ;
|
|
|
c59dfe |
|
|
|
c59dfe |
# This is an evil hack. On, Windows, when Python is embedded, nothing
|
|
|
c59dfe |
# seems to set up sys.path to include Python's standard library
|