Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Some distros need this
[simgrid.git] / src / smpi / smpicc.in
index 84745dd..f0f7128 100755 (executable)
@@ -6,7 +6,7 @@ CFLAGS="-O2 -Dmain=smpi_simulated_main"
 #FIXME: probably only want the last two pairs after 'make install'
 INCLUDEARGS="-I@top_srcdir@/include -I@top_srcdir@/include/smpi -I@includedir@ -I@includedir@/smpi"
 CMAKE_LINKARGS="-L@CMAKE_LINKARGS@"
 #FIXME: probably only want the last two pairs after 'make install'
 INCLUDEARGS="-I@top_srcdir@/include -I@top_srcdir@/include/smpi -I@includedir@ -I@includedir@/smpi"
 CMAKE_LINKARGS="-L@CMAKE_LINKARGS@"
-LINKARGS="-lsimgrid -lsmpi "
+LINKARGS="-lsimgrid -lsmpi -lm"
 
 CMDLINE=""
 while [ -n "$1" ]; do
 
 CMDLINE=""
 while [ -n "$1" ]; do