From: Arnaud Giersch Date: Tue, 19 Mar 2013 19:48:50 +0000 (+0100) Subject: Also link with platform independent libunwind. X-Git-Tag: v3_9_90~424^2~3 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/05d68dfc42e0a317bba0cdbf0a346376aa7652ee?ds=sidebyside Also link with platform independent libunwind. --- diff --git a/buildtools/Cmake/MakeLib.cmake b/buildtools/Cmake/MakeLib.cmake index f7adde30bf..e31007bda8 100644 --- a/buildtools/Cmake/MakeLib.cmake +++ b/buildtools/Cmake/MakeLib.cmake @@ -98,6 +98,7 @@ if(HAVE_MC) # The availability of libunwind was checked in CompleteInFiles.cmake # (that includes FindLibunwind.cmake), so simply load it now. + SET(SIMGRID_DEP "${SIMGRID_DEP} -lunwind") # This supposes that the host machine is either an AMD or a X86. # This is deeply wrong, and should be fixed by manually loading -lunwind-PLAT (FIXME) if(PROCESSOR_x86_64)