mirror of
https://github.com/systemd/systemd
synced 2024-10-06 16:21:34 +00:00
meson: also use COMPRESSION_NONE for default compression
This commit is contained in:
parent
9798deaf46
commit
1788c6f3c0
|
@ -1470,9 +1470,7 @@ elif compression == 'lz4' and not have_lz4
|
||||||
elif compression == 'xz' and not have_xz
|
elif compression == 'xz' and not have_xz
|
||||||
error('default-compression=xz requires xz')
|
error('default-compression=xz requires xz')
|
||||||
endif
|
endif
|
||||||
conf.set('DEFAULT_COMPRESSION',
|
conf.set('DEFAULT_COMPRESSION', 'COMPRESSION_@0@'.format(compression.to_upper()))
|
||||||
compression == 'none' ? 0 :
|
|
||||||
'COMPRESSION_@0@'.format(compression.to_upper()))
|
|
||||||
|
|
||||||
want_xkbcommon = get_option('xkbcommon')
|
want_xkbcommon = get_option('xkbcommon')
|
||||||
if want_xkbcommon != 'false' and not skip_deps
|
if want_xkbcommon != 'false' and not skip_deps
|
||||||
|
|
Loading…
Reference in a new issue