package/libgtk2: fix build with NLS
authorFabrice Fontaine <fontaine.fabrice@gmail.com>
Sun, 14 Jul 2019 08:30:19 +0000 (10:30 +0200)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Sun, 21 Jul 2019 13:44:50 +0000 (15:44 +0200)
Fixes:
 - http://autobuild.buildroot.org/results/20644475a745c04fec4a87c639bd13e4f333805a

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

index 8f60573a5e976c6f2be3b060958db38c451c199f..710e6e47db2cb78987fbe8cf067a71c0d9bb5060 100644 (file)
@@ -21,7 +21,10 @@ LIBGTK2_CONF_ENV = \
 
 LIBGTK2_CONF_OPTS = --disable-glibtest --enable-explicit-deps=no
 
-LIBGTK2_DEPENDENCIES = host-pkgconf host-libgtk2 libglib2 cairo pango atk gdk-pixbuf
+LIBGTK2_DEPENDENCIES = host-pkgconf host-libgtk2 libglib2 cairo pango atk \
+       gdk-pixbuf $(TARGET_NLS_DEPENDENCIES)
+
+LIBGTK2_MAKE_OPTS = LIBS=$(TARGET_NLS_LIBS)
 
 # Xorg dependencies
 LIBGTK2_CONF_OPTS += \