Sfoglia il codice sorgente

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

Luka Stanisic 8 anni fa
parent
commit
2ad6fe09a3
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  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)