summaryrefslogtreecommitdiff
blob: a04aa0b7aab1db94f8c71e9e07a5dfa7fb67c7e6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
--- 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) :