Skip to content

Commit b9672ba

Browse files
committed
Explicit dependencies
1 parent be9eaf4 commit b9672ba

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

debian/rules

+4-2
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,15 @@ export DEB_BUILD_MAINT_OPTIONS = hardening=+all
99
dh $@ --buildsystem=cmake
1010

1111
CCACHE := $(shell ccache --version 2>/dev/null)
12-
1312
ifdef CCACHE
1413
CC := ccache
1514
endif
1615

16+
OPTIONS = -DCMAKE_BUILD_TYPE=Release -DARCH=$(DEB_TARGET_ARCH) -DCMAKE_CXX_COMPILER_LAUNCHER=$(CC) -DWITH_DOCS=YES
17+
DEPENDENCIES_CONFIG = -DLINK=STATIC -DLIBCAP_BUILD_OWN=YES -DLIBSECCOMP_BUILD_OWN=YES -DLIBTCLAP_BUILD_OWN=YES -DSCDOC_BUILD_OWN=YES
18+
1719
override_dh_auto_configure:
18-
dh_auto_configure -- -DCMAKE_BUILD_TYPE=Release -DLINK=DYNAMIC -DLIBSECCOMP_BUILD_OWN=NO -DLIBSECCOMP_PREFIX=/usr/lib/x86_64-linux-gnu -DARCH=$(DEB_TARGET_ARCH) -DCMAKE_CXX_COMPILER_LAUNCHER=$(CC)
20+
dh_auto_configure -- $(OPTIONS) $(DEPENDENCIES_CONFIG)
1921

2022
override_dh_auto_test:
2123
echo Tests skipped

0 commit comments

Comments
 (0)