[glib] Link gdatetime test to libintl



commit 24e80aac1fafd5d634017ed879bcc31b9938a75d
Author: Руслан Ижбулатов <lrn1986 gmail com>
Date:   Tue Apr 10 22:46:53 2018 +0000

    Link gdatetime test to libintl
    
    gdatetime testcase uses glib (which uses libintl), but *alsi* calls
    libintl functions on its own, as part of the testing process.
    Therefore it must be linked to libintl like any other program that
    uses it.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=794556

 glib/tests/meson.build | 3 +++
 1 file changed, 3 insertions(+)
---
diff --git a/glib/tests/meson.build b/glib/tests/meson.build
index f6ab18569..c32e7768f 100644
--- a/glib/tests/meson.build
+++ b/glib/tests/meson.build
@@ -111,6 +111,9 @@ foreach test_name : glib_tests
   if test_name == 'regex'
     deps += [pcre]
   endif
+  if test_name == 'gdatetime'
+    deps += [libintl]
+  endif
   exe = executable(test_name, '@0@.c'.format(test_name),
     c_args : ['-DPCRE_STATIC'] + test_cargs,
     dependencies : deps,


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]