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

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

diff --git a/tools/flex/Makefile b/tools/flex/Makefile
index 2fcc2c643f..8e32ace854 100644
--- a/tools/flex/Makefile
+++ b/tools/flex/Makefile
@@ -16,6 +16,8 @@ PKG_CAT:=bzcat
 
 include $(INCLUDE_DIR)/host-build.mk
 
+HOST_LDFLAGS += -static
+
 define Host/Clean
 	-$(MAKE) -C $(HOST_BUILD_DIR) uninstall
 	$(call Host/Clean/Default)
-- 
GitLab