From d59dbd30c432ffbc1d968546782b05e4f602d17d Mon Sep 17 00:00:00 2001 From: Per Larsen Date: Thu, 27 Jun 2024 02:29:43 -0700 Subject: [PATCH] Fix ordering of clang libs for static linking clangAnalysis depends on clangASTMatchers and thus needs to come before it. Fixes #1099. --- c2rust-ast-exporter/build.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/c2rust-ast-exporter/build.rs b/c2rust-ast-exporter/build.rs index 5cb589bfb..85bab33e3 100644 --- a/c2rust-ast-exporter/build.rs +++ b/c2rust-ast-exporter/build.rs @@ -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",