flex: link statically
authorJo-Philipp Wich <jow@openwrt.org>
Fri, 10 Aug 2012 19:26:24 +0000 (19:26 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Fri, 10 Aug 2012 19:26:24 +0000 (19:26 +0000)
SVN-Revision: 33091

tools/flex/Makefile

index 2fcc2c643fd502a98e88190c46b2ef02721e37cf..8e32ace854e6c5cc500f4e59bea82b59d8281134 100644 (file)
@@ -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)