1
0
mirror of https://github.com/systemd/systemd synced 2024-07-08 20:15:55 +00: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