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 | 30eee2d73ae3d55423fa1c8d23096848fe87c561 (patch) | |
tree | 8906f88557c1f554f211178095b46d7530a0abd4 /tools/xz/Makefile | |
parent | a1eb741c14cc92ea43325fa7cfdb4b7854db7f1a (diff) | |
download | master-187ad058-30eee2d73ae3d55423fa1c8d23096848fe87c561.tar.gz master-187ad058-30eee2d73ae3d55423fa1c8d23096848fe87c561.tar.bz2 master-187ad058-30eee2d73ae3d55423fa1c8d23096848fe87c561.zip |
[tools] xz: link statically
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33111 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'tools/xz/Makefile')
-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 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)) |