From 6b1cdb8f8cc90d6427d8d8a87c74ccccd5a7d97e Mon Sep 17 00:00:00 2001 From: uditgulati Date: Mon, 6 Jan 2020 01:32:40 +0530 Subject: [PATCH] fix for not symlinked openblas and lapack in osx --- ext/extconf.rb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ext/extconf.rb b/ext/extconf.rb index a3322b0..6efe5ab 100644 --- a/ext/extconf.rb +++ b/ext/extconf.rb @@ -22,6 +22,8 @@ '/usr/local/include', INCLUDEDIR, '/usr/include', + '/usr/local/opt/openblas/include', + '/usr/local/opt/lapack/include', ] LIB_DIRS = [ @@ -29,6 +31,8 @@ '/usr/local/lib', LIBDIR, '/usr/lib', + '/usr/local/opt/openblas/lib', + '/usr/local/opt/lapack/lib', ] dir_config(extension_name, HEADER_DIRS, LIB_DIRS)