1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-12-24 22:14:36 +02:00

Add rules to fix debian build

This commit is contained in:
elk aide 2020-10-01 11:28:43 +00:00 committed by Arseniy Shestakov
parent 0d0f1cea2b
commit ff471af3de

8
debian/rules vendored
View File

@ -5,8 +5,12 @@
# override disabled by default rpath - we need to find libvcmi.so with it: # override disabled by default rpath - we need to find libvcmi.so with it:
override_dh_auto_configure: override_dh_auto_configure:
dh_auto_configure -- -DCMAKE_SKIP_RPATH=OFF -DCMAKE_BUILD_TYPE=RelWithDebInfo -DBIN_DIR=games -DENABLE_TEST=0 dh_auto_configure -- \
.PHONY: override_dh_strip -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: override_dh_strip:
dh_strip --dbg-package=vcmi-dbg dh_strip --dbg-package=vcmi-dbg
override_dh_auto_install: override_dh_auto_install: