aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Hubbs <w.d.hubbs@gmail.com>2021-09-21 12:34:22 -0500
committerWilliam Hubbs <w.d.hubbs@gmail.com>2021-09-21 12:34:22 -0500
commita4d4d390bea0781d12304e145eff88d704ccbfdc (patch)
tree0df08befa5d1b3828cc1f700b524d8b9fca29946
parentd07572e1b7853f30e920d1ff9c7c55f21d5c96e5 (diff)
move rc_bindir and rc_sbindir definitions to the top level
-rw-r--r--meson.build2
-rw-r--r--src/rc/meson.build3
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,