openrc-init: fix build for selinux

X-Gentoo-Bug: 821520
X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=821520
This commit is contained in:
William Hubbs 2021-11-12 22:03:43 -06:00
parent 9d4f11f726
commit d21fabca02

View File

@ -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)