Skip to content

Commit 5dccae8

Browse files
committed
Don't get confused by loaded LLVM sublibraries.
1 parent 875c6c5 commit 5dccae8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/LLVM.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ include("deprecated.jl")
131131

132132
function __init__()
133133
libllvm_paths = filter(Libdl.dllist()) do lib
134-
occursin("LLVM", basename(lib))
134+
occursin(r"LLVM\b", basename(lib))
135135
end
136136
if length(libllvm_paths) > 1
137137
# NOTE: this still allows switching to a non-USE_LLVM_SHLIB version, but

0 commit comments

Comments
 (0)