From bf886c05964c33c59e8dc1bf4896d53764db8c01 Mon Sep 17 00:00:00 2001
From: Jo-Philipp Wich <jow@openwrt.org>
Date: Fri, 10 Aug 2012 19:26:31 +0000
Subject: [tools] m4: link statically

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33095 3c298f89-4303-0410-b956-a3cf2f4a3e73
---
 tools/m4/Makefile | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/tools/m4/Makefile b/tools/m4/Makefile
index b838799ab0..91efb5b0d5 100644
--- a/tools/m4/Makefile
+++ b/tools/m4/Makefile
@@ -1,5 +1,5 @@
 # 
-# Copyright (C) 2008 OpenWrt.org
+# Copyright (C) 2008-2012 OpenWrt.org
 #
 # This is free software, licensed under the GNU General Public License v2.
 # See /LICENSE for more information.
@@ -16,6 +16,8 @@ PKG_CAT:=zcat
 
 include $(INCLUDE_DIR)/host-build.mk
 
+HOST_LDFLAGS += -static
+
 define Host/Clean
 	-$(MAKE) -C $(HOST_BUILD_DIR) uninstall
 	$(call Host/Clean/Default)
-- 
cgit v1.2.3