commit 44fd2c8166f192bd3dbd13de99bd817619c40301
parent e996bab248c89541784362b3b7b33652f2e01051
Author: Christian Grothoff <christian@grothoff.org>
Date: Wed, 29 Jul 2026 13:09:03 +0200
meson: link against z and fix the unused mhd2_dep fallback
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/meson.build b/meson.build
@@ -77,7 +77,7 @@ if not get_option('only-doc')
zlib_dep = dependency('zlib', required: false)
if not zlib_dep.found()
- zlib_dep = cc.find_library('zlib', required: true)
+ zlib_dep = cc.find_library('z', required: true)
endif
dl_dep = dependency('libdl', required: false)
if not dl_dep.found()
@@ -96,7 +96,7 @@ if not get_option('only-doc')
mhd2_dep = dependency('libmicrohttpd2', required: false)
if not mhd2_dep.found()
- mhd_dep2 = cc.find_library('microhttpd2', required: false)
+ mhd2_dep = cc.find_library('microhttpd2', required: false)
endif
json_dep = dependency('jansson', required: false)