meson: add 'nss' install_tag to nss modules

This commit is contained in:
Mike Gilbert 2022-05-14 11:21:20 -04:00
parent 6530ca0d2b
commit 35d17e15dc

View file

@ -2140,13 +2140,16 @@ foreach tuple : [['myhostname', 'ENABLE_NSS_MYHOSTNAME'],
librt],
link_depends : sym,
install : true,
install_tag : 'nss',
install_dir : rootlibdir)
# We cannot use shared_module because it does not support version suffix.
# Unfortunately shared_library insists on creating the symlink…
meson.add_install_script('sh', '-c',
'rm $DESTDIR@0@/libnss_@1@.so'
.format(rootlibdir, module))
.format(rootlibdir, module),
install_tag : 'nss'
)
if want_tests != 'false'
test('dlopen-nss_' + module,