package/pcmanfm: fix build with NLS
authorFabrice Fontaine <fontaine.fabrice@gmail.com>
Thu, 8 Aug 2019 08:03:22 +0000 (10:03 +0200)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Thu, 8 Aug 2019 14:11:28 +0000 (16:11 +0200)
Fixes:
 - http://autobuild.buildroot.org/results/f6dfad52aa7f3528472a33a0fe4f5e35932541d8

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

index 6dadfaeebd431acca22bfb4278b7e9aa6ce33334..5d8730984ce49e3ab814adc7b08be05a5401f21b 100644 (file)
@@ -7,9 +7,10 @@
 PCMANFM_VERSION = 1.3.0
 PCMANFM_SOURCE = pcmanfm-$(PCMANFM_VERSION).tar.xz
 PCMANFM_SITE = http://sourceforge.net/projects/pcmanfm/files
-PCMANFM_DEPENDENCIES = libglib2 menu-cache libfm
+PCMANFM_DEPENDENCIES = libglib2 menu-cache libfm $(TARGET_NLS_DEPENDENCIES)
 PCMANFM_LICENSE = GPL-2.0+
 PCMANFM_LICENSE_FILES = COPYING
+PCMANFM_CONF_ENV = LIBS=$(TARGET_NLS_LIBS)
 
 ifeq ($(BR2_PACKAGE_LIBGTK3_X11),y)
 PCMANFM_CONF_OPTS += --with-gtk=3