Skip to content

Commit fccdcab

Browse files
committed
Adapt to renamed libllvm getter.
1 parent 1b57ac5 commit fccdcab

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/LLVM.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,8 @@ function __init__()
6060
# we only support working with the copy of LLVM that Julia uses, because we have
6161
# additional library calls compiled in the Julia binary which cannot be used with
6262
# another copy of LLVM. loading multiple copies of LLVM typically breaks anyhow.
63-
libllvm[] = if VERSION >= v"1.6.0-DEV.1356"
64-
path = Base.libllvm()
63+
libllvm[] = if VERSION >= v"1.6.0-DEV.1429"
64+
path = Base.libllvm_path()
6565
if path === nothing
6666
error("""Cannot find the LLVM library loaded by Julia.
6767
Please use a version of Julia that has been built with USE_LLVM_SHLIB=1 (like the official binaries).

0 commit comments

Comments
 (0)