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.54.0-support_...

20 lines
560 B

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