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

SVN-Revision: 33094
---
 tools/lzma/Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tools/lzma/Makefile b/tools/lzma/Makefile
index 4922f8087f..00ed3dc425 100644
--- a/tools/lzma/Makefile
+++ b/tools/lzma/Makefile
@@ -21,8 +21,8 @@ UTIL_DIR=$(HOST_BUILD_DIR)/C/LzmaUtil
 ALONE_DIR=$(HOST_BUILD_DIR)/CPP/7zip/Compress/LZMA_Alone
 
 define Host/Compile
-	$(MAKE) -C $(UTIL_DIR) -f makefile.gcc
-	$(MAKE) -C $(ALONE_DIR) -f makefile.gcc
+	$(MAKE) -C $(UTIL_DIR) -f makefile.gcc LDFLAGS="-static"
+	$(MAKE) -C $(ALONE_DIR) -f makefile.gcc LDFLAGS="-static"
 endef
 
 define Host/Install
-- 
GitLab