]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
Fix detection of Boost >=1.50
authorbarate <barate>
Wed, 16 Jan 2013 18:09:21 +0000 (18:09 +0000)
committerbarate <barate>
Wed, 16 Jan 2013 18:09:21 +0000 (18:09 +0000)
salome_adm/unix/config_files/check_boost.m4

index 36ab894e8c49bc41711d1befaa9a882651e5fc73..5f4db0018cee90bc179ab1c111b6cae9616f66c8 100644 (file)
@@ -120,7 +120,7 @@ if test "x${boost_headers_ok}" = "xyes" ; then
     done
   fi
   if test "x${boost_lib_dir_ok}" = "xyes" ; then
-    LIBS="${LIBS_old} ${BOOST_LIBS} -lboost_thread${BOOST_LIBSUFFIX}"
+    LIBS="${LIBS_old} ${BOOST_LIBS} -lboost_thread${BOOST_LIBSUFFIX} -lboost_system${BOOST_LIBSUFFIX}"
     AC_TRY_LINK([#include <boost/thread/thread.hpp>],
                 [struct TBody{ void operator()(){} }; boost::thread(TBody())],
                 boost_binaries_ok=yes,