> - 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 <pbonz...@redhat.com>
> - 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 <pbonz...@redhat.com>