From ff471af3de3d8d39de0c3a29aaff38df6ae546ea Mon Sep 17 00:00:00 2001 From: elk aide Date: Thu, 1 Oct 2020 11:28:43 +0000 Subject: [PATCH] Add rules to fix debian build --- debian/rules | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/debian/rules b/debian/rules index a0ba4f819..04ad5d07d 100755 --- a/debian/rules +++ b/debian/rules @@ -5,8 +5,12 @@ # override disabled by default rpath - we need to find libvcmi.so with it: override_dh_auto_configure: - dh_auto_configure -- -DCMAKE_SKIP_RPATH=OFF -DCMAKE_BUILD_TYPE=RelWithDebInfo -DBIN_DIR=games -DENABLE_TEST=0 -.PHONY: override_dh_strip + dh_auto_configure -- \ + -DCMAKE_INSTALL_RPATH_USE_LINK_PATH=ON \ + -DCMAKE_INSTALL_RPATH=/usr/lib/$(DEB_HOST_MULTIARCH)/vcmi \ + -DBIN_DIR=games \ + -DFORCE_BUNDLED_FL=OFF + override_dh_strip: dh_strip --dbg-package=vcmi-dbg override_dh_auto_install: