1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2024-12-22 13:33:56 +03:00

meson: also use COMPRESSION_NONE for default compression

This commit is contained in:
Yu Watanabe 2022-04-27 20:49:17 +09:00
parent 9798deaf46
commit 1788c6f3c0

View File

@ -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