From 8895cae09b7f364fdd8eb55ad487a9bad55e2faf Mon Sep 17 00:00:00 2001 From: Fabrice Fontaine Date: Mon, 30 Oct 2023 14:38:33 +0100 Subject: [PATCH] package/tar: fix NLS build Fix the following build failure raised since bump to version 1.35 in commit d4d483451f0a305781b94b96c15a6cf4b489cd84: /home/thomas/autobuild/instance-1/output-1/host/lib/gcc/xtensa-buildroot-linux-uclibc/12.3.0/../../../../xtensa-buildroot-linux-uclibc/bin/ld: buffer.o: in function `bufmap_reset': buffer.c:(.text+0xe8): undefined reference to `libintl_gettext' Fixes: - http://autobuild.buildroot.org/results/99b05d4b495b6337c6a48ea5a551a3a84c6d2e6b Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle --- package/tar/tar.mk | 2 ++ 1 file changed, 2 insertions(+) diff --git a/package/tar/tar.mk b/package/tar/tar.mk index dc17647b2c..d57d63970d 100644 --- a/package/tar/tar.mk +++ b/package/tar/tar.mk @@ -13,6 +13,8 @@ TAR_CONF_OPTS = --exec-prefix=/ TAR_LICENSE = GPL-3.0+ TAR_LICENSE_FILES = COPYING TAR_CPE_ID_VENDOR = gnu +TAR_DEPENDENCIES = $(TARGET_NLS_DEPENDENCIES) +TAR_CONF_ENV = LIBS=$(TARGET_NLS_LIBS) # 0002-Fix-boundary-checking-in-base-256-decoder.patch TAR_IGNORE_CVES += CVE-2022-48303