blob: bddcdac9cc159c3e46d8ef1e61ef79482437643c [file] [log] [blame]
--- tools/common.jam.orig 2013-08-27 12:13:56.865158748 +0400
+++ tools/common.jam 2013-08-27 12:15:08.760162210 +0400
@@ -763,7 +763,15 @@
switch $(f:G)
{
case <base> :
- result += $(name:B) ;
+ local matched = [ MATCH "^(boost.*python)-.*" : $(name) ] ;
+ if $(matched) = boost_python || $(matched) = boost_mpi_python
+ {
+ result += $(name) ;
+ }
+ else
+ {
+ result += $(name:B) ;
+ }
case <toolset> :
result += [ join-tag $(f:G=) : [ toolset-tag $(name) : $(type) :