diff options
author | Xavier Claessens <xavier.claessens@collabora.com> | 2018-04-20 12:09:32 -0400 |
---|---|---|
committer | Xavier Claessens <xavier.claessens@collabora.com> | 2018-04-25 13:56:14 -0400 |
commit | d1237179470c7a7c1434df906362e2dd993fcb9c (patch) | |
tree | ef4171c11bc44528448db1ed9cce540d856022db | |
parent | 97c28f7fe1ffa7bc33cda0a0de20b375db9f6594 (diff) | |
download | glib-d1237179470c7a7c1434df906362e2dd993fcb9c.tar.gz |
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
-rw-r--r-- | gio/tests/meson.build | 12 |
1 files 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') |