aboutsummaryrefslogtreecommitdiff
path: root/src/openrc-init/meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'src/openrc-init/meson.build')
-rw-r--r--src/openrc-init/meson.build10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/openrc-init/meson.build b/src/openrc-init/meson.build
new file mode 100644
index 00000000..08cc318d
--- /dev/null
+++ b/src/openrc-init/meson.build
@@ -0,0 +1,10 @@
+if os == 'Linux'
+ executable('openrc-init',
+ ['openrc-init.c', plugin_c, wtmp_c, version_h],
+ c_args : cc_selinux_flags,
+ include_directories: [incdir, einfo_incdir, rc_incdir],
+ link_with: [libeinfo, librc],
+ dependencies: [dl_dep, selinux_dep],
+ install: true,
+ install_dir: sbindir)
+endif