move rc_bindir and rc_sbindir definitions to the top level

This commit is contained in:
William Hubbs 2021-09-21 12:34:22 -05:00
parent d07572e1b7
commit a4d4d390be
2 changed files with 2 additions and 3 deletions

View File

@ -86,6 +86,8 @@ if os == 'Linux' and libexecdir == 'libexec'
endif
libexecdir = rootprefix / libexecdir
rc_libexecdir = libexecdir / 'rc'
rc_bindir = rc_libexecdir / 'bin'
rc_sbindir = rc_libexecdir / 'sbin'
sbindir = rootprefix / get_option('sbindir')
selinux_dep = dependency('libselinux', required : get_option('selinux'))

View File

@ -26,9 +26,6 @@ rc_wtmp_c = files([
'rc-wtmp.c',
])
rc_bindir = rc_libexecdir / 'bin'
rc_sbindir = rc_libexecdir / 'sbin'
executable('rc-status',
['rc-status.c', rc_misc_c, usage_c, version_h],
c_args : cc_branding_flags,