From f79666f20c1d49a176693ab41476e9a1baa1ad66 Mon Sep 17 00:00:00 2001
From: Jo-Philipp Wich <jow@openwrt.org>
Date: Fri, 10 Aug 2012 19:27:06 +0000
Subject: dosfstools: link statically

SVN-Revision: 33115
---
 tools/dosfstools/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'tools/dosfstools')

diff --git a/tools/dosfstools/Makefile b/tools/dosfstools/Makefile
index 88ac057f16..73d8e2a36a 100644
--- a/tools/dosfstools/Makefile
+++ b/tools/dosfstools/Makefile
@@ -16,7 +16,7 @@ PKG_CAT:=zcat
 include $(INCLUDE_DIR)/host-build.mk
 
 define Host/Compile
-	$(MAKE) -C $(HOST_BUILD_DIR) SHELL="$(BASH)"
+	$(MAKE) -C $(HOST_BUILD_DIR) SHELL="$(BASH)" LDFLAGS="$(HOST_LDFLAGS) -static"
 endef
 
 define Host/Install
-- 
cgit v1.2.3