Просмотр исходного кода

Fix linking with the configured simgrid

Samuel Thibault лет назад: 4
Родитель
Сommit
fde5134fa7
1 измененных файлов с 1 добавлено и 0 удалено
  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)