package/metacity: fix build with NLS
authorFabrice Fontaine <fontaine.fabrice@gmail.com>
Fri, 9 Aug 2019 12:46:04 +0000 (14:46 +0200)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Fri, 9 Aug 2019 20:06:48 +0000 (22:06 +0200)
Fixes:
 - http://autobuild.buildroot.org/results/c7a12e45c774905d4253db35c35c208d3f21ad49

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

index b93200ca5a706a716eb30b048d0a09953a769bf7..f5a6d4afd9b81bb4108c986c1ccc584c4ddce3d8 100644 (file)
@@ -26,7 +26,10 @@ METACITY_DEPENDENCIES = libgtk2 \
        xlib_libXcomposite \
        xlib_libXfixes \
        xlib_libXrender \
-       xlib_libXdamage
+       xlib_libXdamage \
+       $(TARGET_NLS_DEPENDENCIES)
+
+METACITY_CONF_ENV = LIBS=$(TARGET_NLS_LIBS)
 
 ifeq ($(BR2_PACKAGE_XLIB_LIBXCURSOR),y)
 METACITY_DEPENDENCIES += xlib_libXcursor