diff --git a/Build.md b/Build.md index 29a3cb3..a04e2f5 100644 --- a/Build.md +++ b/Build.md @@ -135,6 +135,8 @@ apk add alpine-sdk cmake make clang clang-static clang-dev llvm-dev llvm-static Arch User Repository: [aur/ccls-git](https://aur.archlinux.org/packages/ccls-git). +To build with `extra/clang`: `-DCLANG_LINK_CLANG_DYLIB=on -DLLVM_LINK_LLVM_DYLIB=on` + `extra/clang` and `extra/llvm` provide `/usr/lib/{libclangAST.so,libLLVM*.a,libLLVM.so}`. `libclangAST.so` needs `libLLVM.so` and there would be a conflict if `libLLVM*.a` (instead of `libLLVM.so`) are linked. See https://bugs.archlinux.org/task/60512