Skip to content

Commit 059a37c

Browse files
authored
Fixed loading without MKL.jl again
1 parent d7424d0 commit 059a37c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/setup.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
function __init__()
33
MKLpkgid = Base.PkgId(Base.UUID("33e6dc65-8f57-5167-99aa-e5a354878fb2"), "MKL")
44
mklpath = Base.locate_package(MKLpkgid)
5-
if !isempty(mklpath)
5+
if mklpath != nothing
66
libpath = normpath(joinpath(dirname(mklpath), "../deps/usr/lib"))
77
push!(Libdl.DL_LOAD_PATH, libpath)
88
elseif isempty(Libdl.find_library(rtlib))

0 commit comments

Comments
 (0)