From c65bc5ef4f1ef64ca9cd0dae4c26c0773a563771 Mon Sep 17 00:00:00 2001 From: Sylvestre Ledru Date: Fri, 21 Jul 2023 15:39:49 +0200 Subject: [PATCH] =?UTF-8?q?fix=20the=20coinstall=20issue.=20See=20#1041388?= =?UTF-8?q?=C2=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- debian/rules | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/debian/rules b/debian/rules index bd6aa8b4..978e0f2d 100755 --- a/debian/rules +++ b/debian/rules @@ -1038,6 +1038,11 @@ ifeq (${LIBFUZZER_ENABLE},yes) cp -v $(TARGET_BUILD)/libFuzzer.a $(CURDIR)/debian/libfuzzer-$(LLVM_VERSION)-dev/usr/lib/llvm-$(LLVM_VERSION)/lib/ endif +# Because of hurd, we are more flexible in what we include in libclang-X.Y-rt +# but we don't want to install wasi files into libclang-rt as they have their own package +# So, we remove this directory from the package + rm -f $(CURDIR)/debian/libclang-rt-$(LLVM_VERSION)-dev/usr/lib/llvm-$(LLVM_VERSION)/lib/wasi/ + # Create this fake directory to make the install libclang-common-dev happy # under the unsupported archs of compiler-rt mkdir -p $(DEB_INST)/usr/lib/clang/$(LLVM_VERSION)/lib