From 87ee3c332f9b0736064a588bdf974bbda0288d58 Mon Sep 17 00:00:00 2001 From: Sylvestre Ledru Date: Sat, 29 Jan 2022 14:47:09 +0100 Subject: [PATCH] remove unused clangd lib --- debian/rules | 3 +++ 1 file changed, 3 insertions(+) diff --git a/debian/rules b/debian/rules index 5a325b6c..980d0cad 100755 --- a/debian/rules +++ b/debian/rules @@ -695,6 +695,9 @@ override_dh_auto_install: # Remove an example - introduced in https://reviews.llvm.org/D61446 rm -f $(DEB_INST)/usr/lib/llvm-$(LLVM_VERSION)/lib/libBye.a + # Remove unused clangd lib + rm -f $(DEB_INST)/usr/lib/llvm-$(LLVM_VERSION)/lib/libRemoteIndexProto.a $(DEB_INST)/usr/lib/llvm-$(LLVM_VERSION)/lib/libRemoteIndexServiceProto.a + cp $(TARGET_BUILD_STAGE2)/bin/clang-query $(DEB_INST)/usr/lib/llvm-$(LLVM_VERSION)/bin # Only run on executable, not script