From: Zbigniew Jędrzejewski-Szmek Date: Mon, 10 Apr 2017 16:26:39 +0000 (-0400) Subject: meson: remove libnss_*.so symlinks after install X-Git-Tag: v234~286^2~65 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d7148676863c716320798ede129a3af5d27c8d31;p=thirdparty%2Fsystemd.git meson: remove libnss_*.so symlinks after install --- diff --git a/meson.build b/meson.build index a56476a71de..780c308ca09 100644 --- a/meson.build +++ b/meson.build @@ -1011,6 +1011,12 @@ foreach tuple : [['myhostname', 'HAVE_MYHOSTNAME', []], link_depends : sym, install : true, 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)) endif endforeach