package/xapp_xfd: fix build with NLS
authorFabrice Fontaine <fontaine.fabrice@gmail.com>
Fri, 26 Apr 2019 18:25:10 +0000 (20:25 +0200)
committerPeter Korsgaard <peter@korsgaard.com>
Sat, 27 Apr 2019 12:24:36 +0000 (14:24 +0200)
Fixes:
 - http://autobuild.buildroot.org/results/e6009f0232eb60ed10eb46b39edf125369eb12e1

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/x11r7/xapp_xfd/xapp_xfd.mk

index 8bea7a2fa757c791269bfe7e0e3248e8aa94d788..149e24b79aa256f0a52ac3587f3f5d9dffb93af9 100644 (file)
@@ -9,8 +9,14 @@ XAPP_XFD_SOURCE = xfd-$(XAPP_XFD_VERSION).tar.bz2
 XAPP_XFD_SITE = http://xorg.freedesktop.org/releases/individual/app
 XAPP_XFD_LICENSE = MIT
 XAPP_XFD_LICENSE_FILES = COPYING
-XAPP_XFD_DEPENDENCIES = freetype fontconfig xlib_libXaw xlib_libXft
+XAPP_XFD_DEPENDENCIES = \
+       freetype \
+       fontconfig \
+       xlib_libXaw \
+       xlib_libXft \
+       $(TARGET_NLS_DEPENDENCIES)
 XAPP_XFD_CONF_OPTS = --with-appdefaultdir=/usr/share/X11/app-defaults
+XAPP_XFD_CONF_ENV = LIBS=$(TARGET_NLS_LIBS)
 
 ifeq ($(BR2_PACKAGE_XLIB_LIBXKBFILE),y)
 XAPP_XFD_CONF_OPTS += --with-xkb