From d1237179470c7a7c1434df906362e2dd993fcb9c Mon Sep 17 00:00:00 2001 From: Xavier Claessens Date: Fri, 20 Apr 2018 12:09:32 -0400 Subject: [PATCH] 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 --- gio/tests/meson.build | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/gio/tests/meson.build b/gio/tests/meson.build index 3c974acfb..ff897e44a 100644 --- a/gio/tests/meson.build +++ b/gio/tests/meson.build @@ -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')