summaryrefslogtreecommitdiffstats
path: root/meson.build
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2018-03-01 21:48:36 +0100
committerLennart Poettering <lennart@poettering.net>2018-03-01 21:48:36 +0100
commit671f0f8de0a623cb3e4f66b562eae332135c8ca2 (patch)
tree0df93b88fcf208814799b1f88c575e4966441eb8 /meson.build
parentMerge pull request #8319 from keszybz/yet-another-symlink-installation-tweak (diff)
downloadsystemd-671f0f8de0a623cb3e4f66b562eae332135c8ca2.tar.xz
systemd-671f0f8de0a623cb3e4f66b562eae332135c8ca2.zip
Remove /sbin from paths if split-bin is false (#8324)
Follow-up for 157baa87e4.
Diffstat (limited to 'meson.build')
-rw-r--r--meson.build5
1 files changed, 4 insertions, 1 deletions
diff --git a/meson.build b/meson.build
index 607502c937..7cf89ecf2e 100644
--- a/meson.build
+++ b/meson.build
@@ -59,13 +59,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