From: Yu Watanabe Date: Wed, 27 Apr 2022 11:49:17 +0000 (+0900) Subject: meson: also use COMPRESSION_NONE for default compression X-Git-Tag: v251-rc2~57^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F23206%2Fhead;p=thirdparty%2Fsystemd.git meson: also use COMPRESSION_NONE for default compression --- diff --git a/meson.build b/meson.build index 783630c1d11..fc98350d31f 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