c7fd47
--- boost_1_57_0/tools/build/src/tools/python.jam	2013-05-21 06:14:18.000000000 +0200
c7fd47
+++ boost_1_55_0/tools/build/src/tools/python.jam	2014-05-29 19:09:12.115413877 +0200
c7fd47
@@ -94,7 +94,7 @@ feature.feature pythonpath : : free opti
c7fd47
 #   using python : 2.3 : /usr/local/bin/python ;
c7fd47
 #
c7fd47
 rule init ( version ? : cmd-or-prefix ? : includes * : libraries ?
c7fd47
-    : condition * : extension-suffix ? )
c7fd47
+    : condition * : extension-suffix ? : abi-letters ? )
c7fd47
 {
c7fd47
     project.push-current $(.project) ;
c7fd47
 
c7fd47
@@ -107,7 +107,7 @@ rule init ( version ? : cmd-or-prefix ? 
c7fd47
         }
c7fd47
     }
c7fd47
 
c7fd47
-    configure $(version) : $(cmd-or-prefix) : $(includes) : $(libraries) : $(condition) : $(extension-suffix) ;
c7fd47
+    configure $(version) : $(cmd-or-prefix) : $(includes) : $(libraries) : $(condition) : $(extension-suffix) : $(abi-letters) ;
c7fd47
 
c7fd47
     project.pop-current ;
c7fd47
 }
c7fd47
@@ -653,7 +653,7 @@ local rule system-library-dependencies (
c7fd47
 
c7fd47
 # Declare a target to represent Python's library.
c7fd47
 #
c7fd47
-local rule declare-libpython-target ( version ? : requirements * )
c7fd47
+local rule declare-libpython-target ( version ? : requirements * : abi-letters ? )
c7fd47
 {
c7fd47
     # Compute the representation of Python version in the name of Python's
c7fd47
     # library file.
c7fd47
@@ -677,13 +677,13 @@ local rule declare-libpython-target ( ve
c7fd47
     }
c7fd47
 
c7fd47
     # Declare it.
c7fd47
-    lib python.lib : : <name>python$(lib-version) $(requirements) ;
c7fd47
+    lib python.lib : : <name>python$(lib-version)$(abi-letters) $(requirements) ;
c7fd47
 }
c7fd47
 
c7fd47
 
c7fd47
 # Implementation of init.
c7fd47
 local rule configure ( version ? : cmd-or-prefix ? : includes * : libraries ? :
c7fd47
-    condition * : extension-suffix ? )
c7fd47
+    condition * : extension-suffix ? : abi-letters ? )
c7fd47
 {
c7fd47
     local prefix ;
c7fd47
     local exec-prefix ;
c7fd47
@@ -699,6 +699,7 @@ local rule configure ( version ? : cmd-o
c7fd47
         extension-suffix ?= _d ;
c7fd47
     }
c7fd47
     extension-suffix ?= "" ;
c7fd47
+    abi-letters ?= "" ;
c7fd47
 
c7fd47
     local cmds-to-try ;
c7fd47
c7fd47
@@ -922,7 +923,7 @@ local rule configure ( version ? : cmd-o
c7fd47
     }
c7fd47
     else
c7fd47
     {
c7fd47
-        declare-libpython-target $(version) : $(target-requirements) ;
c7fd47
+        declare-libpython-target $(version) : $(target-requirements) : $(abi-letters) ;
c7fd47
 
c7fd47
         # This is an evil hack.  On, Windows, when Python is embedded, nothing
c7fd47
         # seems to set up sys.path to include Python's standard library