Meson: Add missing link on libintl in tests

This fix undefined symbol link error when building for non-glibc
platform. Applications must link on libintl, it is not a public
dependency of libglib.

On glibc platforms libintl is a not found dependency and is just ignored
by meson, so it doesn't hurt to always have it.

https://bugzilla.gnome.org/show_bug.cgi?id=795406
This commit is contained in:
Xavier Claessens 2018-04-20 12:09:32 -04:00
parent 97c28f7fe1
commit d123717947

View File

@ -1,8 +1,10 @@
common_gio_tests_deps = [libglib_dep, libgmodule_dep, libgobject_dep, libgio_dep]
if host_system == 'darwin'
common_gio_tests_deps += [libintl]
endif
common_gio_tests_deps = [
libglib_dep,
libgmodule_dep,
libgobject_dep,
libgio_dep,
libintl
]
subdir('gdbus-object-manager-example')