Skip to content

Commit

Permalink
fix: get LLVM static libraries
Browse files Browse the repository at this point in the history
  • Loading branch information
bnusunny authored and KyleMayes committed Sep 25, 2024
1 parent e4c9b7e commit 2cb708c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build/static.rs
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ fn get_library_name(path: &Path) -> Option<String> {

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

0 comments on commit 2cb708c

Please sign in to comment.