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/