From 0f732ba6b4f91c06baecaa5403f5ea69a4df860a Mon Sep 17 00:00:00 2001 From: jow Date: Fri, 10 Aug 2012 19:27:00 +0000 Subject: [tools] xz: link statically git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33111 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- tools/xz/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'tools') diff --git a/tools/xz/Makefile b/tools/xz/Makefile index 3dc9da266..41894e073 100644 --- a/tools/xz/Makefile +++ b/tools/xz/Makefile @@ -15,8 +15,10 @@ PKG_MD5SUM:=8d900b742b94fa9e708ca4f5a4b29003 include $(INCLUDE_DIR)/host-build.mk +HOST_LDFLAGS += -static + define Host/Install - $(MAKE) -C $(HOST_BUILD_DIR) install xzlinks="unxz xzcat" + $(MAKE) -C $(HOST_BUILD_DIR) install xzlinks="unxz xzcat" AM_LDFLAGS="-all-static" endef $(eval $(call HostBuild)) -- cgit v1.2.3