summaryrefslogtreecommitdiff
path: root/units/meson.build
diff options
context:
space:
mode:
authorNorbert Lange <nolange79@gmail.com>2020-07-14 00:49:25 +0200
committerYu Watanabe <watanabe.yu+github@gmail.com>2020-07-18 13:50:39 +0900
commit55678b9eae7a7bb0881c94b1e829192673b8e4b8 (patch)
tree47d2b077d08ecac4f6d2f07baa99193a33a9cf02 /units/meson.build
parent0119ab3d6c1e17881ce9686221c7cbc650940953 (diff)
downloadsystemd-55678b9eae7a7bb0881c94b1e829192673b8e4b8.tar.gz
build: skip installation of 2 files if feature is disabled
dont install systemd-update-utmp if utmp is disabled. dont install systemd-initctl.service if sysv is disabled.
Diffstat (limited to 'units/meson.build')
-rw-r--r--units/meson.build2
1 files changed, 1 insertions, 1 deletions
diff --git a/units/meson.build b/units/meson.build
index c641900c66..aa2ed115ea 100644
--- a/units/meson.build
+++ b/units/meson.build
@@ -180,7 +180,7 @@ in_units = [
'sysinit.target.wants/'],
['systemd-importd.service', 'ENABLE_IMPORTD',
'dbus-org.freedesktop.import1.service'],
- ['systemd-initctl.service', ''],
+ ['systemd-initctl.service', 'HAVE_SYSV_COMPAT'],
['systemd-journal-gatewayd.service', 'ENABLE_REMOTE HAVE_MICROHTTPD'],
['systemd-journal-remote.service', 'ENABLE_REMOTE HAVE_MICROHTTPD'],
['systemd-journal-upload.service', 'ENABLE_REMOTE HAVE_LIBCURL'],