Skip to content

Commit d59dbd3

Browse files
committed
Fix ordering of clang libs for static linking
clangAnalysis depends on clangASTMatchers and thus needs to come before it. Fixes #1099.
1 parent e526781 commit d59dbd3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

c2rust-ast-exporter/build.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -180,12 +180,12 @@ fn build_native(llvm_info: &LLVMInfo) {
180180
let mut clang_libs = vec![
181181
"clangTooling",
182182
"clangFrontend",
183-
"clangASTMatchers",
184183
"clangParse",
185-
"clangSerialization",
186184
"clangSema",
187-
"clangEdit",
188185
"clangAnalysis",
186+
"clangASTMatchers",
187+
"clangSerialization",
188+
"clangEdit",
189189
"clangDriver",
190190
"clangFormat",
191191
"clangToolingCore",

0 commit comments

Comments
 (0)