You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/dev-util/boost-build/files/boost-build-1.48.0-support_...

20 lines
627 B

--- 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) :