Skip to content

Commit

Permalink
Fix ordering of clang libs for static linking
Browse files Browse the repository at this point in the history
clangAnalysis depends on clangASTMatchers and thus needs to come
before it. Fixes #1099.
  • Loading branch information
thedataking committed Jun 28, 2024
1 parent e526781 commit d59dbd3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions c2rust-ast-exporter/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -180,12 +180,12 @@ fn build_native(llvm_info: &LLVMInfo) {
let mut clang_libs = vec![
"clangTooling",
"clangFrontend",
"clangASTMatchers",
"clangParse",
"clangSerialization",
"clangSema",
"clangEdit",
"clangAnalysis",
"clangASTMatchers",
"clangSerialization",
"clangEdit",
"clangDriver",
"clangFormat",
"clangToolingCore",
Expand Down

0 comments on commit d59dbd3

Please sign in to comment.