From dab489db7c6426fdf3805d697a7059304f69a36b Mon Sep 17 00:00:00 2001
From: jow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Date: Fri, 10 Aug 2012 19:27:06 +0000
Subject: [tools] dosfstools: link statically

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33115 3c298f89-4303-0410-b956-a3cf2f4a3e73
---
 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 88ac057f1..73d8e2a36 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