aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Fabrice Fontaine <fontaine.fabrice@gmail.com>2019-07-14 10:30:19 +0200
committerGravatar Thomas Petazzoni <thomas.petazzoni@bootlin.com>2019-07-21 15:44:50 +0200
commit81c126bc8ff15e0356510626169cc05482e5bd1e (patch)
tree572307cfd448e35346357069d864c6acec2b9db1
parentd1a61703f728340ec894c367398d2a3a394a3360 (diff)
downloadbuildroot-81c126bc8ff15e0356510626169cc05482e5bd1e.tar.gz
buildroot-81c126bc8ff15e0356510626169cc05482e5bd1e.tar.bz2
package/libgtk2: fix build with NLS
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>
-rw-r--r--package/libgtk2/libgtk2.mk5
1 files changed, 4 insertions, 1 deletions
diff --git a/package/libgtk2/libgtk2.mk b/package/libgtk2/libgtk2.mk
index 8f60573a5e..710e6e47db 100644
--- a/package/libgtk2/libgtk2.mk
+++ b/package/libgtk2/libgtk2.mk
@@ -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 += \