You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I built static llvm and clang, and did make install to custom, non-standard directories.
Static build.rs of clang-sys get_llvm_libraries() only queries llvm-config --libs, but this output just lists lib names (-lLLVMLTO -lLLVMPasses) and lacks any -L flags required to find them.
The build script assumed that libclang.a and the other Clang static libraries are in the same directory as the LLVM static libraries, I'm guessing that's not the case for your custom build.
I built static llvm and clang, and did
make install
to custom, non-standard directories.Static
build.rs
of clang-sysget_llvm_libraries()
only queriesllvm-config --libs
, but this output just lists lib names (-lLLVMLTO -lLLVMPasses
) and lacks any-L
flags required to find them.This fixes the build for me:
The text was updated successfully, but these errors were encountered: