package/gkrellm: fix build with NLS
authorFabrice Fontaine <fontaine.fabrice@gmail.com>
Thu, 14 Jan 2021 19:35:43 +0000 (20:35 +0100)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Thu, 14 Jan 2021 21:25:58 +0000 (22:25 +0100)
Fixes:
 - http://autobuild.buildroot.org/results/98d0eda546b09e60eebbd3c3a28493f09dff7e62

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

index 9e9dcd69ea886737aa461f541ca2cd3f0769aee6..ebc0cd72f39bec3db4b16787fcec9105b23853a3 100644 (file)
@@ -9,8 +9,10 @@ GKRELLM_SITE = http://gkrellm.srcbox.net/releases
 GKRELLM_SOURCE = gkrellm-$(GKRELLM_VERSION).tar.bz2
 GKRELLM_LICENSE = GPL-3.0+
 GKRELLM_LICENSE_FILES = COPYING COPYRIGHT
-GKRELLM_DEPENDENCIES = host-pkgconf libglib2
-GKRELLM_BUILD_OPTS = STRIP=""
+GKRELLM_DEPENDENCIES = host-pkgconf libglib2 $(TARGET_NLS_DEPENDENCIES)
+GKRELLM_BUILD_OPTS = \
+       STRIP="" \
+       SYS_LIBS=$(TARGET_NLS_LIBS)
 
 ifeq ($(BR2_PACKAGE_LM_SENSORS),y)
 GKRELLM_DEPENDENCIES += lm-sensors