Skip to content

Commit 07baa34

Browse files
authored
Add path workaround for Linux
1 parent af76a18 commit 07baa34

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/MATLAB.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ function __init__()
8181

8282
# load libraries
8383
# workaround for https://github.com/JuliaInterop/MATLAB.jl/issues/200
84-
if Sys.iswindows()
84+
if Sys.iswindows() || Sys.islinux()
8585
ENV["PATH"] = string(matlab_libpath, ";", ENV["PATH"])
8686
end
8787
libmx[] = Libdl.dlopen(joinpath(matlab_libpath, "libmx"), Libdl.RTLD_GLOBAL)

0 commit comments

Comments
 (0)