build-sys: meson: Add -Wl,no-delete to relevant libraries

This mirrors the autotools option for all server-side dynamic libraries.
This commit is contained in:
Arun Raghavan 2019-08-03 01:52:09 +05:30
parent d8927b0e53
commit f996ad0688
11 changed files with 24 additions and 4 deletions

View file

@ -275,7 +275,7 @@ foreach m : all_modules
install : true,
install_dir : modlibexecdir,
dependencies : [thread_dep, libpulse_dep, libpulsecommon_dep, libpulsecore_dep] + extra_deps,
link_args : [ '-Wl,--no-undefined' ],
link_args : [nodelete_link_args, '-Wl,--no-undefined' ],
link_with : extra_libs,
name_prefix : '',
implicit_include_directories : false)