From 05d68dfc42e0a317bba0cdbf0a346376aa7652ee Mon Sep 17 00:00:00 2001 From: Arnaud Giersch Date: Tue, 19 Mar 2013 20:48:50 +0100 Subject: [PATCH] Also link with platform independent libunwind. --- buildtools/Cmake/MakeLib.cmake | 1 + 1 file changed, 1 insertion(+) 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) -- 2.20.1