diff --git a/Makefile b/Makefile index 8c478d61d11a..90303ae154a2 100644 --- a/Makefile +++ b/Makefile @@ -223,6 +223,8 @@ ifeq (,$(wildcard /lib/liblapack.a)) ifeq (,$(wildcard /lib/liblapack.so)) ifeq (,$(wildcard /usr/lib/liblapack.a)) ifeq (,$(wildcard /usr/lib/liblapack.so)) +ifeq (,$(wildcard /usr/lib/x86_64-linux-gnu/liblapack.a)) +ifeq (,$(wildcard /usr/lib/x86_64-linux-gnu/liblapack.so)) ifeq (,$(wildcard /usr/lib/liblapack.dylib)) ifeq (,$(wildcard /usr/lib64/liblapack.a)) ifeq (,$(wildcard /usr/lib64/liblapack.so)) @@ -240,6 +242,8 @@ endif endif endif endif +endif +endif # lapack settings. ifeq ($(USE_LAPACK), 1)