Explorar el Código

make process_jam_log recognize .so shared libraries

[SVN r25455]
Aleksey Gurtovoy hace 22 años
padre
commit
ac1bcc516f
Se han modificado 1 ficheros con 4 adiciones y 1 borrados
  1. 4 1
      tools/regression/process_jam_log.cpp

+ 4 - 1
tools/regression/process_jam_log.cpp

@@ -107,6 +107,7 @@ namespace
   {
     string::size_type pos = s.find( ".test/" );
     if ( pos == string::npos ) pos = s.find( ".dll/" );
+    if ( pos == string::npos ) pos = s.find( ".so/" );
     if ( pos == string::npos ) pos = s.find( ".lib/" );
     if ( pos == string::npos ) pos = s.find( ".pyd/" );
     return pos;
@@ -248,7 +249,9 @@ namespace
       if ( info.type.empty() )
       {
         if ( target_directory.find( ".lib/" ) != string::npos
-          || target_directory.find( ".dll/" ) != string::npos )
+          || target_directory.find( ".dll/" ) != string::npos 
+          || target_directory.find( ".so/" ) != string::npos 
+          )
         {
           info.type = "lib";
         }

粤ICP备19079148号