Re: [PATCH for 6.1] meson.build: relax the libdl test to one for the function dlopen

2021-07-14 Thread Paolo Bonzini
> - libdl = cc.find_library('dl', required: true) > + libdl = cc.find_library('dl', required: false) > + if not cc.has_function('dlopen', dependencies: libdl) > +error('dlopen not found') > + endif Reviewed-by: Paolo Bonzini

[PATCH for 6.1] meson.build: relax the libdl test to one for the function dlopen

2021-07-14 Thread Alex Bennée
For the *BSD family dlopen is already part of libc so it's not a hard dependency to have a libdl.so library. Signed-off-by: Alex Bennée --- meson.build | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/meson.build b/meson.build index c6dd70c400..e5de144233 100644 --- a/meso