Explorar o código

mlr: need to add -lrt when linking min-dgels without fxt

Luka Stanisic %!s(int64=8) %!d(string=hai) anos
pai
achega
2ad6fe09a3
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      configure.ac

+ 1 - 0
configure.ac

@@ -1144,6 +1144,7 @@ if test x$enable_mlr = xyes; then
 	        AC_DEFINE(STARPU_MLR_MODEL, [1], [use reflapack library])
 		LDFLAGS="-llapack $LDFLAGS"
 	else
+		LIBS="$LIBS -lrt"
 		AC_MSG_CHECKING(whether min-dgels is linked)
 		if test x"$DGELS_LIBS" != x; then
 		   	AC_MSG_RESULT(yes)