From 4dbb7f8cb563d3b7aa93ac445fe7824df939ebd4 Mon Sep 17 00:00:00 2001
From: Felix Fietkau <nbd@openwrt.org>
Date: Sat, 11 Dec 2010 21:29:53 +0000
Subject: [PATCH] tools/xz: do not overwrite the lzma binary

SVN-Revision: 24499
---
 tools/xz/Makefile | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/tools/xz/Makefile b/tools/xz/Makefile
index 5689e18d44..660f6e899c 100644
--- a/tools/xz/Makefile
+++ b/tools/xz/Makefile
@@ -15,4 +15,8 @@ PKG_MD5SUM:=0652c09fdbb93ae2ce78c1368ffda612
 
 include $(INCLUDE_DIR)/host-build.mk
 
+define Host/Install
+	$(MAKE) -C $(HOST_BUILD_DIR) install xzlinks="unxz xzcat"
+endef
+
 $(eval $(call HostBuild))
-- 
GitLab