package/yad: fix build with NLS
authorFabrice Fontaine <fontaine.fabrice@gmail.com>
Thu, 8 Aug 2019 08:17:04 +0000 (10:17 +0200)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Thu, 8 Aug 2019 14:12:25 +0000 (16:12 +0200)
Fixes:
 - http://autobuild.buildroot.org/results/40ccab40d7c82b908a622d45998d057a31d9cac6

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

index d674316cf341380b4cf67194fcb16b5355130a9e..01bf334a75622c0f08bc9fb32cc42218a8e0e012 100644 (file)
@@ -9,7 +9,8 @@ YAD_SOURCE = yad-$(YAD_VERSION).tar.xz
 YAD_SITE = http://sourceforge.net/projects/yad-dialog/files
 YAD_LICENSE = GPL-3.0
 YAD_LICENSE_FILES = COPYING
-YAD_DEPENDENCIES = host-intltool host-pkgconf
+YAD_DEPENDENCIES = host-intltool host-pkgconf $(TARGET_NLS_DEPENDENCIES)
+YAD_CONF_ENV = LIBS=$(TARGET_NLS_LIBS)
 YAD_CONF_OPTS = --enable-html=no
 
 ifeq ($(BR2_PACKAGE_LIBGTK3_X11),y)