Skip to content

Commit

Permalink
More stable LLVM_LIBDIR (#274)
Browse files Browse the repository at this point in the history
  • Loading branch information
Gnimuc authored Oct 27, 2020
1 parent fc45116 commit 765acea
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Clang.jl
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,8 @@ function version()
end

const LLVM_VERSION = match(r"[0-9]+.[0-9]+.[0-9]+", version()).match
const LLVM_LIBDIR = dirname(LibClang.Clang_jll.libclang_path)
const LLVM_DIR = joinpath(dirname(LibClang.Clang_jll.libclang_path), "..") |> normpath
const LLVM_LIBDIR = joinpath(LLVM_DIR, "lib")
const LLVM_INCLUDE = joinpath(LLVM_LIBDIR, "clang", LLVM_VERSION, "include")
const CLANG_INCLUDE = LLVM_INCLUDE

Expand Down

0 comments on commit 765acea

Please sign in to comment.