diff options
author | Norbert Lange <nolange79@gmail.com> | 2020-07-14 00:49:25 +0200 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2020-07-18 13:50:39 +0900 |
commit | 55678b9eae7a7bb0881c94b1e829192673b8e4b8 (patch) | |
tree | 47d2b077d08ecac4f6d2f07baa99193a33a9cf02 /meson.build | |
parent | 0119ab3d6c1e17881ce9686221c7cbc650940953 (diff) | |
download | systemd-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 'meson.build')
-rw-r--r-- | meson.build | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meson.build b/meson.build index 0c012b69fe..020a7e55ce 100644 --- a/meson.build +++ b/meson.build @@ -3080,7 +3080,7 @@ executable( link_with : [libshared], dependencies : [libaudit], install_rpath : rootlibexecdir, - install : true, + install : (conf.get('ENABLE_UTMP') == 1), install_dir : rootlibexecdir) if conf.get('HAVE_KMOD') == 1 |