package/gtkperf: fix build with NLS
authorFabrice Fontaine <fontaine.fabrice@gmail.com>
Mon, 29 Jul 2019 13:20:35 +0000 (15:20 +0200)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Wed, 31 Jul 2019 22:52:14 +0000 (00:52 +0200)
Fixes:
 - http://autobuild.buildroot.org/results/747469b359dd05cfa05b4295958f8a8175166cfe

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

index 1d1230f1ed13993ef883f01719993c77ab365393..cc0433984c382262a79c8079a8dacd8e48ed20f0 100644 (file)
@@ -7,8 +7,9 @@
 GTKPERF_VERSION = 0.40
 GTKPERF_SOURCE = gtkperf_$(GTKPERF_VERSION).tar.gz
 GTKPERF_SITE = http://downloads.sourceforge.net/project/gtkperf/gtkperf/$(GTKPERF_VERSION)
-GTKPERF_DEPENDENCIES = libgtk2
+GTKPERF_DEPENDENCIES = libgtk2 $(TARGET_NLS_DEPENDENCIES)
 GTKPERF_LICENSE = GPL-2.0
 GTKPERF_LICENSE_FILES = COPYING
+GTKPERF_CONF_ENV = LIBS=$(TARGET_NLS_LIBS)
 
 $(eval $(autotools-package))