Explorar o código

Fix linking with the configured simgrid

Samuel Thibault %!s(int64=4) %!d(string=hai) anos
pai
achega
fde5134fa7
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      configure.ac

+ 1 - 0
configure.ac

@@ -168,6 +168,7 @@ if test x$enable_simgrid = xyes ; then
 	   	NVCCFLAGS="$SIMGRID_CFLAGS $NVCCFLAGS"
 	fi
 	SAVED_LIBS="${LIBS}"
+	LIBS="$SIMGRID_LIBS $LIBS"
 	AC_HAVE_LIBRARY([simgrid], [],
 		[
 			AC_MSG_ERROR(Simgrid support needs simgrid installed)