From 4fe4fb5c44a2ef546e00f19e67426c2be1f9322f Mon Sep 17 00:00:00 2001 From: Tony Kelman Date: Thu, 1 Oct 2015 18:22:38 -0700 Subject: [PATCH] Fix linking to renamed openblas, ref #13407 (cherry picked from commit 26b58c6138b3e8e704ba35762e79b982b4e69b33) --- Make.inc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Make.inc b/Make.inc index ddb8918d8c749..9618991062bd2 100644 --- a/Make.inc +++ b/Make.inc @@ -838,6 +838,8 @@ ifeq ($(USE_SYSTEM_BLAS), 0) ifeq ($(USE_BLAS64), 1) OPENBLAS_SYMBOLSUFFIX = 64_ OPENBLAS_LIBNAMESUFFIX = 64_ +LIBBLAS = -L$(build_shlibdir) -lopenblas$(OPENBLAS_LIBNAMESUFFIX) +LIBLAPACK = $(LIBBLAS) LIBBLASNAME = $(LIBBLASNAME)$(OPENBLAS_LIBNAMESUFFIX) LIBLAPACKNAME = $(LIBBLASNAME) endif