From dac59dbf813d20ed87baab000e6b59039eca5fc0 Mon Sep 17 00:00:00 2001 From: Arnaud Rebillout Date: Thu, 20 Sep 2018 15:36:13 +0700 Subject: [PATCH] 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: Signed-off-by: Arnaud Rebillout --- src/modules/meson.build | 1 + 1 file changed, 1 insertion(+) diff --git a/src/modules/meson.build b/src/modules/meson.build index fd9f082..1d5e908 100644 --- a/src/modules/meson.build +++ b/src/modules/meson.build @@ -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) -- 2.7.4