Imported Upstream version 1.72.0
[platform/upstream/boost.git] / libs / mpi / build / Jamfile.v2
index 51b92c6..1f42346 100644 (file)
@@ -73,6 +73,7 @@ rule python-tag ( name : type ? : property-set )
     return  [ tag $(result) : $(type) : $(property-set) ] ;
 }
 
+mpi_python_libs = ;
 
 if [ mpi.configured ]
 {
@@ -168,6 +169,8 @@ lib boost_mpi
                 <link>shared <runtime-link>shared
                 <python-debugging>on:<define>BOOST_DEBUG_PYTHON
               ;
+
+            mpi_python_libs = boost_mpi_python mpi ;
   }
 }
 else if ! ( --without-mpi in  [ modules.peek : ARGV ] )
@@ -184,4 +187,4 @@ else
   alias boost_mpi ;
 }
 
-boost-install boost_mpi ;
+boost-install boost_mpi $(mpi_python_libs) ;