Skip to content
Snippets Groups Projects
Commit 4fbe0a94 authored by Christian Engwer's avatar Christian Engwer
Browse files

If vendor blas is missing, superlu is compiled with internal blas.

In this case -lblas must be added to the linker cmdline.

[[Imported from SVN: r5471]]
parent f5d7d89f
No related branches found
No related tags found
No related merge requests found
......@@ -113,7 +113,13 @@ AC_DEFUN([DUNE_PATH_SUPERLU],[
OLDFLAGS="$LDFLAGS"
LDFLAGS="$LDFLAGS -L$SUPERLU_LIB_PATH"
LIBS="$BLAS_LIBS $LIBS $FLIBS"
# if no blas was found, we assume that superlu was compiled with
# internal blas
if test "x$BLAS_LIBS" = "x"; then
LIBS="$BLAS_LIBS $LIBS $FLIBS"
else
LIBS="-lblas $LIBS $FLIBS"
fi
HAVE_SUPERLU=0
if test x$with_superlu_lib = x; then
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment