summaryrefslogtreecommitdiff
blob: b3bee03b56f38c7a464c5eaac2f20cb98c22c68c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
--- tools/common.jam
+++ tools/common.jam
@@ -759,7 +759,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) :