Skip to content

Commit c48d3fe

Browse files
committed
fix: get LLVM static libraries
1 parent e4c9b7e commit c48d3fe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build/static.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ fn get_library_name(path: &Path) -> Option<String> {
4141

4242
/// Gets the LLVM static libraries required to link to `libclang`.
4343
fn get_llvm_libraries() -> Vec<String> {
44-
common::run_llvm_config(&["--libs"])
44+
common::run_llvm_config(&["--libs", "--link-static"])
4545
.unwrap()
4646
.split_whitespace()
4747
.filter_map(|p| {

0 commit comments

Comments
 (0)