diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2017-04-10 12:26:39 -0400 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2017-04-23 21:47:27 -0400 |
commit | d7148676863c716320798ede129a3af5d27c8d31 (patch) | |
tree | 49f1d6f8450df54bed54ce55901f438b69cd1663 /meson.build | |
parent | a3e34ac80d223461611d6768b11eb4735b90cb67 (diff) |
meson: remove libnss_*.so symlinks after install
Diffstat (limited to 'meson.build')
-rw-r--r-- | meson.build | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/meson.build b/meson.build index a56476a71d..780c308ca0 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 |