From f273581e12fbbe14321d78d0b5bf94e7208f4c34 Mon Sep 17 00:00:00 2001 From: Rosen Penev Date: Sun, 19 May 2019 16:38:55 -0700 Subject: [PATCH] dosfstools: Fix compilation with full NLS Signed-off-by: Rosen Penev (cherry-picked from 28a18b8eccfa478dc2028363e70bed32977ea3a3) --- utils/dosfstools/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/utils/dosfstools/Makefile b/utils/dosfstools/Makefile index 52d050c4b3..0fc31c7720 100644 --- a/utils/dosfstools/Makefile +++ b/utils/dosfstools/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=dosfstools PKG_VERSION:=4.1 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz PKG_SOURCE_URL:=https://github.com/dosfstools/dosfstools/releases/download/v$(PKG_VERSION)/ \ @@ -42,6 +42,8 @@ define Package/dosfstools/description The dosfstools package includes the mkfs.fat and fsck.fat utilities, which respectively make and check MS-DOS FAT filesystems. endef +TARGET_LDFLAGS += $(if $(ICONV_FULL),-liconv) + define Package/dosfstools/install $(INSTALL_DIR) $(1)/usr/sbin $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/fatlabel $(1)/usr/sbin/ -- 2.30.2