meson: link libintl if it's not provided by libc

This fixes the build on musl with external gettext
This commit is contained in:
Rasmus Thomsen 2019-09-15 14:22:49 +02:00 committed by Tanu Kaskinen
parent d72a3a5eca
commit bff163089c
12 changed files with 22 additions and 14 deletions

View file

@ -284,7 +284,7 @@ foreach m : all_modules
install : true,
install_rpath : rpath_dirs,
install_dir : modlibexecdir,
dependencies : [thread_dep, libpulse_dep, libpulsecommon_dep, libpulsecore_dep] + extra_deps,
dependencies : [thread_dep, libpulse_dep, libpulsecommon_dep, libpulsecore_dep, libintl_dep] + extra_deps,
link_args : [nodelete_link_args, '-Wl,--no-undefined' ],
link_with : extra_libs,
name_prefix : '',