From: Jordan Williams Date: Mon, 8 Apr 2024 15:49:01 +0000 (-0500) Subject: meson: Make the zlib dependency a disabler when not found X-Git-Tag: v2.42-start~420^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=2c02ce7ceaf39ac9301371282fde3a8dc6b293d8;p=thirdparty%2Futil-linux.git meson: Make the zlib dependency a disabler when not found This disables targets that require zlib when it is not found. Currently, targets requiring zlib are built when it is not found. Fixes #2930. Signed-off-by: Jordan Williams --- diff --git a/meson.build b/meson.build index 21822f0bd..20c19b9a8 100644 --- a/meson.build +++ b/meson.build @@ -292,6 +292,7 @@ endforeach lib_z = dependency( 'zlib', + disabler : true, required : get_option('zlib')) lib_readline = dependency(