aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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,