diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2018-03-01 21:48:36 +0100 |
---|---|---|
committer | Sven Eden <yamakuzure@gmx.net> | 2018-05-30 07:59:11 +0200 |
commit | a73ff5e5b4372cd8e9e97ee875c9fd48a69fb84b (patch) | |
tree | 2d975c3691d99832d82b2bf0b698fa60433ff7d3 /meson.build | |
parent | 06aedd5e7157c2d282a5aa2469f5bfd657a459e3 (diff) |
Remove /sbin from paths if split-bin is false (#8324)
Follow-up for 157baa87e4.
Diffstat (limited to 'meson.build')
-rw-r--r-- | meson.build | 5 |
1 files changed, 4 insertions, 1 deletions
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 |