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
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,