summaryrefslogtreecommitdiffstats
path: root/meson.build
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2022-04-27 13:49:17 +0200
committerYu Watanabe <watanabe.yu+github@gmail.com>2022-04-27 13:49:17 +0200
commit1788c6f3c001826ca93cbee5664ef9ca9a22b1c8 (patch)
treeef19eeb26db435342aecd2f1f14c42eb93968730 /meson.build
parentmeson: show default compression method in summary (diff)
downloadsystemd-1788c6f3c001826ca93cbee5664ef9ca9a22b1c8.tar.xz
systemd-1788c6f3c001826ca93cbee5664ef9ca9a22b1c8.zip
meson: also use COMPRESSION_NONE for default compression
Diffstat (limited to '')
-rw-r--r--meson.build4
1 files changed, 1 insertions, 3 deletions
diff --git a/meson.build b/meson.build
index 783630c1d1..fc98350d31 100644
--- a/meson.build
+++ b/meson.build
@@ -1470,9 +1470,7 @@ elif compression == 'lz4' and not have_lz4
elif compression == 'xz' and not have_xz
error('default-compression=xz requires xz')
endif
-conf.set('DEFAULT_COMPRESSION',
- compression == 'none' ? 0 :
- 'COMPRESSION_@0@'.format(compression.to_upper()))
+conf.set('DEFAULT_COMPRESSION', 'COMPRESSION_@0@'.format(compression.to_upper()))
want_xkbcommon = get_option('xkbcommon')
if want_xkbcommon != 'false' and not skip_deps