From 5dfdbd0066d8272b6658f9b08b31d4155e6a5e9c Mon Sep 17 00:00:00 2001
From: Jo-Philipp Wich <jow@openwrt.org>
Date: Fri, 10 Aug 2012 19:26:42 +0000
Subject: [PATCH] mtools: link statically

SVN-Revision: 33099
---
 tools/mtools/Makefile | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/tools/mtools/Makefile b/tools/mtools/Makefile
index 994ca8d0d5..36f6adc86b 100644
--- a/tools/mtools/Makefile
+++ b/tools/mtools/Makefile
@@ -16,6 +16,8 @@ PKG_CAT:=zcat
 
 include $(INCLUDE_DIR)/host-build.mk
 
+HOST_LDFLAGS += -static
+
 define Host/Compile
 	$(MAKE) -C $(HOST_BUILD_DIR) mcopy
 endef
-- 
GitLab