From 360cf8f0fd35db8f1a9e87d9e9d494b5aa059ef1 Mon Sep 17 00:00:00 2001 From: Fabrice Fontaine Date: Tue, 2 Jul 2019 23:39:25 +0200 Subject: [PATCH] package/libgtk3: fix build with NLS Fixes: - No autobuilder failures yet Signed-off-by: Fabrice Fontaine Signed-off-by: Peter Korsgaard --- package/libgtk3/libgtk3.mk | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/package/libgtk3/libgtk3.mk b/package/libgtk3/libgtk3.mk index bdf820de37..b9adc673f5 100644 --- a/package/libgtk3/libgtk3.mk +++ b/package/libgtk3/libgtk3.mk @@ -24,9 +24,11 @@ LIBGTK3_CONF_OPTS = \ # Override pkg-config pkgdatadir variable, it needs the prefix LIBGTK3_MAKE_OPTS = \ - WAYLAND_PROTOCOLS_DATADIR=$(STAGING_DIR)/usr/share/wayland-protocols + WAYLAND_PROTOCOLS_DATADIR=$(STAGING_DIR)/usr/share/wayland-protocols \ + LIBS=$(TARGET_NLS_LIBS) -LIBGTK3_DEPENDENCIES = host-pkgconf host-libgtk3 atk libglib2 cairo pango gdk-pixbuf libepoxy +LIBGTK3_DEPENDENCIES = host-pkgconf host-libgtk3 atk libglib2 cairo pango \ + gdk-pixbuf libepoxy $(TARGET_NLS_DEPENDENCIES) ifeq ($(BR2_PACKAGE_LIBGTK3_X11),y) LIBGTK3_DEPENDENCIES += fontconfig xlib_libX11 xlib_libXext xlib_libXrender xlib_libXi -- 2.30.2