Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Added dependency to 'libdl' to Lua.
authorChristian Heinrich <christian.heinrich@livando.com>
Fri, 6 Mar 2015 13:32:27 +0000 (14:32 +0100)
committerChristian Heinrich <franz-christian.heinrich@inria.fr>
Thu, 15 Oct 2015 17:17:16 +0000 (19:17 +0200)
This is not always necessary, but when building the Lua sources
from scratch, I had to use this flag.

tools/cmake/MakeLib.cmake

index 2fb2f46..50cdcf4 100644 (file)
@@ -62,6 +62,7 @@ if(HAVE_LUA)
     COMMAND ${CMAKE_COMMAND} -E create_symlink ${CMAKE_BINARY_DIR}/lib/libsimgrid.${LIB_EXE} ${CMAKE_BINARY_DIR}/examples/simdag/simgrid.${LIB_EXE} #for test
     )
   SET(SIMGRID_DEP "${SIMGRID_DEP} -l${LIB_LUA_NAME}")
+  SET(SIMGRID_DEP "${SIMGRID_DEP} -ldl")
 endif()
 
 if(HAVE_GRAPHVIZ)