We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 78e63ec commit 09f4df0Copy full SHA for 09f4df0
deps/build.jl
@@ -8,7 +8,8 @@ function find_matlab_root()
8
get(ENV, "MATLAB_HOME", nothing))
9
if isnothing(matlab_root)
10
matlab_exe = Sys.which("matlab")
11
- if !isnothing(matlab_exe) && !islink(matlab_exe) # guard against /usr/local
+ if !isnothing(matlab_exe)
12
+ matlab_exe = islink(matlab_exe) ? readlink(matlab_exe) : matlab_exe # guard against /usr/local
13
matlab_root = dirname(dirname(matlab_exe))
14
else
15
if Sys.isapple()
0 commit comments