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 committed Sep 23, 2024
1 parent e4c9b7e commit c48d3fe
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 c48d3fe

Please sign in to comment.