diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2012-08-10 19:27:00 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2012-08-10 19:27:00 +0000 |
commit | da6f82a16e027ba75ecb0c8697457a13583fce83 (patch) | |
tree | a02672d33a7e319fa34dda61769dc5a33f3e1d3d /tools/xz | |
parent | 5ac14bbd494d52318995503716fde463e557555b (diff) | |
download | mtk-20170518-da6f82a16e027ba75ecb0c8697457a13583fce83.zip mtk-20170518-da6f82a16e027ba75ecb0c8697457a13583fce83.tar.gz mtk-20170518-da6f82a16e027ba75ecb0c8697457a13583fce83.tar.bz2 |
xz: link statically
SVN-Revision: 33111
Diffstat (limited to 'tools/xz')
-rw-r--r-- | tools/xz/Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/xz/Makefile b/tools/xz/Makefile index 3dc9da2..41894e0 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)) |