From a73ff5e5b4372cd8e9e97ee875c9fd48a69fb84b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Thu, 1 Mar 2018 21:48:36 +0100 Subject: Remove /sbin from paths if split-bin is false (#8324) Follow-up for 157baa87e4. --- meson.build | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'meson.build') diff --git a/meson.build b/meson.build index a10499131..163e27b12 100644 --- a/meson.build +++ b/meson.build @@ -75,13 +75,16 @@ if get_option('split-usr') == 'auto' else split_usr = get_option('split-usr') == 'true' endif -conf.set10('HAVE_SPLIT_USR', split_usr) +conf.set10('HAVE_SPLIT_USR', split_usr, + description : '/usr/bin and /bin directories are separate') if get_option('split-bin') == 'auto' split_bin = run_command('test', '-L', '/usr/sbin').returncode() != 0 else split_bin = get_option('split-bin') == 'true' endif +conf.set10('HAVE_SPLIT_BIN', split_bin, + description : 'bin and sbin directories are separate') rootprefixdir = get_option('rootprefix') # Unusual rootprefixdir values are used by some distros -- cgit v1.2.3