diff options
Diffstat (limited to 'src/oom/meson.build')
-rw-r--r-- | src/oom/meson.build | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/src/oom/meson.build b/src/oom/meson.build index 8d31f05c98..b475fbf12c 100644 --- a/src/oom/meson.build +++ b/src/oom/meson.build @@ -7,7 +7,21 @@ systemd_oomd_sources = files( 'oomd.c', ) -oomctl_sources = files('oomctl.c') +executables += [ + libexec_template + { + 'name' : 'systemd-oomd', + 'dbus' : true, + 'conditions' : ['ENABLE_OOMD'], + 'sources' : systemd_oomd_sources, + 'dependencies' : libatomic, + }, + executable_template + { + 'name' : 'oomctl', + 'public' : true, + 'conditions' : ['ENABLE_OOMD'], + 'sources' : files('oomctl.c'), + }, +] if conf.get('ENABLE_OOMD') == 1 install_data('org.freedesktop.oom1.conf', |