package/granite: link with -lintl if needed
authorFabrice Fontaine <fontaine.fabrice@gmail.com>
Sun, 4 Jul 2021 12:32:05 +0000 (14:32 +0200)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Tue, 20 Jul 2021 20:35:07 +0000 (22:35 +0200)
commit82a5ffca28250bb7e474a85fad3904539539bdc8
treeedb00488b9d3e82d5a46cc624aa49d75fb21d91a
parentb4c76008fcbb7a183e19d6c6fe06f28e63b64cbd
package/granite: link with -lintl if needed

Link with TARGET_NLS_LIBS if needed to avoid the following build
failure:

/home/buildroot/autobuild/run/instance-2/output-1/host/opt/ext-toolchain/bin/../lib/gcc/xtensa-buildroot-linux-uclibc/9.3.0/../../../../xtensa-buildroot-linux-uclibc/bin/ld: lib/libgranite.so.5.4.0.p/meson-generated_Application.c.o: in function `_vala_array_free.constprop.0':
Application.c:(.text+0x340): undefined reference to `libintl_bindtextdomain'

Fixes:
 - http://autobuild.buildroot.org/results/d754cb776a1e11031cef4e66d45619aad5c4575d

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/granite/granite.mk