mirror of https://gitee.com/openkylin/libvirt.git
00c4dd794a
shared_module() is intended for shared objects that are
loaded at runtime using dlopen() whereas NSS plugins need to
be full-fledged shared libraries with, among other things, a
proper SONAME.
Meson seems to have become more strict about this recently,
because libnss_libvirt.so.2 gets a SONAME when I build it with
Meson 0.59.4 on Fedora 34 but doesn't when I use Meson 0.60.2
on Debian testing instead.
Either way, shared_library() was always the right function
to use for NSS plugins.
Fixes:
|
||
---|---|---|
.. | ||
libvirt_guest_nss.syms | ||
libvirt_nss.c | ||
libvirt_nss.h | ||
libvirt_nss.syms | ||
libvirt_nss_bsd.syms | ||
libvirt_nss_leases.c | ||
libvirt_nss_leases.h | ||
libvirt_nss_macs.c | ||
libvirt_nss_macs.h | ||
meson.build |