summarylogtreecommitdiffstats
path: root/adjust-libclang-lib-names.patch
diff options
context:
space:
mode:
Diffstat (limited to 'adjust-libclang-lib-names.patch')
-rw-r--r--adjust-libclang-lib-names.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/adjust-libclang-lib-names.patch b/adjust-libclang-lib-names.patch
new file mode 100644
index 000000000000..358f5b361973
--- /dev/null
+++ b/adjust-libclang-lib-names.patch
@@ -0,0 +1,18 @@
+diff --git a/makefile b/makefile
+index 94fd556..35483c2 100644
+--- a/makefile
++++ b/makefile
+@@ -38,12 +38,7 @@ LLVM_CXX_FLAGS=$(shell $(LLVM_CONF) --cxxflags)
+ LLVM_CXX_FLAGS+=-I$(shell $(LLVM_CONF) --src-root)/tools/clang/include\
+ -I$(shell $(LLVM_CONF) --obj-root)/tools/clang/include\
+ -std=c++17 -fexceptions
+-LLVM_LD_FLAGS=-Wl,--start-group -lclangAST -lclangAnalysis -lclangBasic\
+- -lclangDriver -lclangEdit -lclangFrontend -lclangFrontendTool\
+- -lclangLex -lclangParse -lclangSema -lclangEdit -lclangASTMatchers\
+- -lclangRewrite -lclangRewriteFrontend -lclangStaticAnalyzerFrontend\
+- -lclangStaticAnalyzerCheckers -lclangStaticAnalyzerCore\
+- -lclangSerialization -lclangToolingCore -lclangTooling -lstdc++\
++LLVM_LD_FLAGS=-Wl,--start-group -lclang-cpp -lstdc++\
+ -lLLVMRuntimeDyld -lm -Wl,--end-group
+ LLVM_LD_FLAGS+=$(shell $(LLVM_CONF) --ldflags --libs --system-libs)
+