From d6eab310cba2be0c6f6a52a9c03ea353ec2182ad Mon Sep 17 00:00:00 2001 From: Sylvestre Ledru Date: Thu, 11 Oct 2018 12:03:06 +0200 Subject: [PATCH] fix the clang-query install path --- debian/rules | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debian/rules b/debian/rules index 540e1ffb..bf85893b 100755 --- a/debian/rules +++ b/debian/rules @@ -504,7 +504,7 @@ override_dh_auto_install: # Remove bat files https://bugs.llvm.org/show_bug.cgi?id=30755 rm -f $(DEB_INST)/usr/share/clang/scan-build-$(LLVM_VERSION)/libexec/*.bat $(DEB_INST)/usr/share/clang/scan-build-$(LLVM_VERSION)/bin/*.bat - cp $(TARGET_BUILD)/bin/clang-query $(DEB_INST)/usr/lib/llvm-$(LLVM_VERSION)/bin + cp $(TARGET_BUILD_STAGE2)/bin/clang-query $(DEB_INST)/usr/lib/llvm-$(LLVM_VERSION)/bin # Only run on executable, not script chrpath -d `find $(DEB_INST)/usr/lib/llvm-$(LLVM_VERSION)/bin/ -type f -executable -exec file -i '{}' \; | grep 'x-executable; charset=binary'|cut -d: -f1`