blob: a04aa0b7aab1db94f8c71e9e07a5dfa7fb67c7e6 [file] [log] [blame]
--- a/tools/common.jam
+++ b/tools/common.jam
@@ -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) :