mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-12-15 08:56:34 -05:00
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:
parent
d8927b0e53
commit
f996ad0688
11 changed files with 24 additions and 4 deletions
|
|
@ -286,12 +286,17 @@ cdata.set('GETGROUPS_T', 'gid_t')
|
|||
configinc = include_directories('.')
|
||||
topinc = include_directories('src')
|
||||
|
||||
# CFLAGS
|
||||
# CFLAGS/LDFLAGS
|
||||
|
||||
pa_c_args = ['-DHAVE_CONFIG_H', '-D_GNU_SOURCE']
|
||||
server_c_args = ['-D__INCLUDED_FROM_PULSE_AUDIO']
|
||||
cdata.set('MESON_BUILD', 1)
|
||||
|
||||
# On ELF systems we don't want the libraries to be unloaded since we don't clean them up properly,
|
||||
# so we request the nodelete flag to be enabled.
|
||||
# On other systems, we don't really know how to do that, but it's welcome if somebody can tell.
|
||||
nodelete_link_args = ['-Wl,-z,nodelete']
|
||||
|
||||
# Code coverage
|
||||
|
||||
if get_option('gcov')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue