From: Vladimír Čunát Date: Thu, 8 Jan 2026 11:38:06 +0000 (+0100) Subject: meson: fix linking with jemalloc X-Git-Tag: v6.1.0~2^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=735db091deeb0c833b386c295d654bccbbfed1a4;p=thirdparty%2Fknot-resolver.git meson: fix linking with jemalloc This is a partial revert of a13235612644 which haven't reached any tags, fortunately. I'm not sure why this breaks the configure phase in my case > meson.build:171:33: ERROR: C shared library 'jemalloc' not found but I looked properly into docs and it wouldn't do what we wanted anyway: https://mesonbuild.com/Reference-manual_returned_compiler.html#find_library_static --- diff --git a/meson.build b/meson.build index 9610589de..301fb0db5 100644 --- a/meson.build +++ b/meson.build @@ -171,7 +171,9 @@ endif malloc = meson.get_compiler('c').find_library( malloc_name, required: get_option('malloc') == 'jemalloc', - static: false, # static linking would most likely cause issues. + # Static linking would most likely cause issues. + # Unfortunately even `static: false` option won't do that. + # Fortunately it seems unlikely that dynamic wouldn't be found and static would be. ) summary({'sendmmsg': sendmmsg,