libvirt/tools/nss
Andrea Bolognani 00c4dd794a nss: Use shared_library() for nss_libvirt_lib
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: 36780c9319
Signed-off-by: Andrea Bolognani <abologna@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
2021-12-13 14:17:56 +01:00
..
libvirt_guest_nss.syms nss: Introduce libvirt-guest module 2016-12-06 13:34:00 +01:00
libvirt_nss_bsd.syms
libvirt_nss_leases.c nss: handle leases with infinite expiry time 2021-01-04 15:33:31 +01:00
libvirt_nss_leases.h tools: avoid accidentally using files from gnulib 2019-08-08 13:32:02 +01:00
libvirt_nss_macs.c Don't pass NULL to yajl_free() 2020-03-30 16:11:13 +02:00
libvirt_nss_macs.h tools: avoid accidentally using files from gnulib 2019-08-08 13:32:02 +01:00
libvirt_nss.c Don't call qsort() over NULL 2021-06-14 14:16:44 +02:00
libvirt_nss.h lib: Prefer WITH_* prefix for #if conditionals 2020-09-02 10:28:10 +02:00
libvirt_nss.syms
meson.build nss: Use shared_library() for nss_libvirt_lib 2021-12-13 14:17:56 +01:00