From: Jo-Philipp Wich Date: Fri, 10 Aug 2012 19:27:00 +0000 (+0000) Subject: xz: link statically X-Git-Tag: reboot~13151 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=da6f82a16e027ba75ecb0c8697457a13583fce83;p=openwrt%2Fstaging%2Fxback.git xz: link statically SVN-Revision: 33111 --- diff --git a/tools/xz/Makefile b/tools/xz/Makefile index 3dc9da2669..41894e073c 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))