mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-02 09:01:46 -05:00
meson: Build modules with '-Wl,no-undefined'
This flag will make the loader fail if symbols are not resolved. It seems to be our best bet to uncover every missing module dependencies. For more details, I recommend to read: <http://www.kaizou.org/2015/01/linux-libraries/> Signed-off-by: Arnaud Rebillout <arnaud.rebillout@collabora.com>
This commit is contained in:
parent
13adc3a805
commit
dac59dbf81
1 changed files with 1 additions and 0 deletions
|
|
@ -131,6 +131,7 @@ foreach m : all_modules
|
|||
c_args : [pa_c_args, server_c_args, '-DPA_MODULE_NAME=' + name.underscorify()] + extra_flags,
|
||||
install : true,
|
||||
dependencies : [thread_dep, libpulse_dep, libpulsecore_dep] + extra_deps,
|
||||
link_args : [ '-Wl,--no-undefined' ],
|
||||
link_with : extra_libs,
|
||||
name_prefix : '',
|
||||
implicit_include_directories : false)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue