From 436ebce633afe16e4337a9845f86043b8033a9cc Mon Sep 17 00:00:00 2001 From: Sylvestre Ledru Date: Sun, 23 Jan 2022 22:52:21 +0100 Subject: [PATCH] add some workaround for stretch --- debian/rules | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/debian/rules b/debian/rules index 6467e61e..e9963f7a 100755 --- a/debian/rules +++ b/debian/rules @@ -664,7 +664,7 @@ override_dh_auto_install: # Clean up temporary files to make sure the install works rm -rf $(find $(TARGET_BUILD) -wholename '*CMakeFiles*' -not -name CMakeLists.txt -a -name "*.dir" -type d) # install/fast enables a make install without recompiling temporary files - DESTDIR=$(DEB_INST)/ ninja -C $(TARGET_BUILD) $(VERBOSE) stage2-install + LD_LIBRARY_PATH=$(STAGE_2_LIB_DIR) DESTDIR=$(DEB_INST)/ ninja -C $(TARGET_BUILD) $(VERBOSE) stage2-install # Not used on Linux. rm -f $(DEB_INST)/usr/lib/llvm-$(LLVM_VERSION)/bin/argdumper @@ -978,6 +978,9 @@ override_dh_auto_test: endif +override_dh_testroot: + # Override for Debian stretch + override_dh_gencontrol: dh_gencontrol -- $(control_vars)