We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e4c9b7e commit c48d3feCopy full SHA for c48d3fe
build/static.rs
@@ -41,7 +41,7 @@ fn get_library_name(path: &Path) -> Option<String> {
41
42
/// Gets the LLVM static libraries required to link to `libclang`.
43
fn get_llvm_libraries() -> Vec<String> {
44
- common::run_llvm_config(&["--libs"])
+ common::run_llvm_config(&["--libs", "--link-static"])
45
.unwrap()
46
.split_whitespace()
47
.filter_map(|p| {
0 commit comments