mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-27 07:56:14 +01:00
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:
parent
97c28f7fe1
commit
d123717947
@ -1,8 +1,10 @@
|
|||||||
common_gio_tests_deps = [libglib_dep, libgmodule_dep, libgobject_dep, libgio_dep]
|
common_gio_tests_deps = [
|
||||||
|
libglib_dep,
|
||||||
if host_system == 'darwin'
|
libgmodule_dep,
|
||||||
common_gio_tests_deps += [libintl]
|
libgobject_dep,
|
||||||
endif
|
libgio_dep,
|
||||||
|
libintl
|
||||||
|
]
|
||||||
|
|
||||||
subdir('gdbus-object-manager-example')
|
subdir('gdbus-object-manager-example')
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user