diff options
author | William Hubbs <w.d.hubbs@gmail.com> | 2021-09-21 12:34:22 -0500 |
---|---|---|
committer | William Hubbs <w.d.hubbs@gmail.com> | 2021-09-21 12:34:22 -0500 |
commit | a4d4d390bea0781d12304e145eff88d704ccbfdc (patch) | |
tree | 0df08befa5d1b3828cc1f700b524d8b9fca29946 | |
parent | d07572e1b7853f30e920d1ff9c7c55f21d5c96e5 (diff) |
move rc_bindir and rc_sbindir definitions to the top level
-rw-r--r-- | meson.build | 2 | ||||
-rw-r--r-- | src/rc/meson.build | 3 |
2 files changed, 2 insertions, 3 deletions
diff --git a/meson.build b/meson.build index 43df8fa5..838bfe3e 100644 --- a/meson.build +++ b/meson.build @@ -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')) diff --git a/src/rc/meson.build b/src/rc/meson.build index 3898ac0c..0246eabd 100644 --- a/src/rc/meson.build +++ b/src/rc/meson.build @@ -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, |