From d21fabca021089f28e4da0ee10dd6b0634f1c10b Mon Sep 17 00:00:00 2001 From: William Hubbs Date: Fri, 12 Nov 2021 22:03:43 -0600 Subject: openrc-init: fix build for selinux X-Gentoo-Bug: 821520 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=821520 --- src/rc/meson.build | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/rc/meson.build') 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) -- cgit v1.2.3