summaryrefslogtreecommitdiffstats
path: root/debian/rules
diff options
context:
space:
mode:
Diffstat (limited to 'debian/rules')
-rwxr-xr-xdebian/rules6
1 files changed, 5 insertions, 1 deletions
diff --git a/debian/rules b/debian/rules
index 6c76020..6a14e40 100755
--- a/debian/rules
+++ b/debian/rules
@@ -2,11 +2,15 @@
export DEB_BUILD_MAINT_OPTIONS=hardening=+all
+ifeq ($(DEB_HOST_ARCH_OS),linux)
+enable_systemd = --enable-systemd
+endif
+
%:
dh $@
override_dh_auto_configure:
- dh_auto_configure -- --enable-utempter --enable-systemd --enable-sixel
+ dh_auto_configure -- --enable-utempter $(enable_systemd)
execute_after_dh_auto_install:
install -D -m 644 debian/shells \