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
This commit is contained in:
Руслан Ижбулатов 2018-04-10 22:46:53 +00:00
parent d2c49106a4
commit 24e80aac1f

View File

@ -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,