From a4d4d390bea0781d12304e145eff88d704ccbfdc Mon Sep 17 00:00:00 2001 From: William Hubbs Date: Tue, 21 Sep 2021 12:34:22 -0500 Subject: [PATCH] move rc_bindir and rc_sbindir definitions to the top level --- meson.build | 2 ++ 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,