[glib/glib-2-56] Meson: Add missing link on libintl in tests
- From: Xavier Claessens <xclaesse src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib/glib-2-56] Meson: Add missing link on libintl in tests
- Date: Wed, 25 Apr 2018 17:59:02 +0000 (UTC)
commit 297e9debe39a6a2ba6193da080dd50bd324e073b
Author: Xavier Claessens <xavier claessens collabora com>
Date: Fri Apr 20 12:09:32 2018 -0400
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 668839402..5aceb7c26 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')
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]