aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorWilliam Hubbs <w.d.hubbs@gmail.com>2021-11-12 22:03:43 -0600
committerWilliam Hubbs <w.d.hubbs@gmail.com>2021-11-12 22:03:43 -0600
commitd21fabca021089f28e4da0ee10dd6b0634f1c10b (patch)
treecafb50052d8c46469839a2b895b8101027791156 /src
parent9d4f11f726b39efc80aed3e57ef3d74d2a99b76e (diff)
openrc-init: fix build for selinux
X-Gentoo-Bug: 821520 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=821520
Diffstat (limited to 'src')
-rw-r--r--src/rc/meson.build3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/rc/meson.build b/src/rc/meson.build
index 48da357b..d7b170e6 100644
--- a/src/rc/meson.build
+++ b/src/rc/meson.build
@@ -113,9 +113,10 @@ executable('supervise-daemon',
if os == 'Linux'
executable('openrc-init',
['openrc-init.c', rc_plugin_c, rc_wtmp_c, version_h],
+ c_args : cc_selinux_flags,
include_directories: [incdir, einfo_incdir, rc_incdir],
link_with: [libeinfo, librc],
- dependencies: [dl_dep],
+ dependencies: [dl_dep, selinux_dep],
install: true,
install_dir: sbindir)