From 42f39be86e5d45c4adf3c5673dc62a87881dce8e Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Mon, 14 Sep 2015 14:03:21 +0000 Subject: tools/xz: disable shared library Force a static build of the xz utilities in order to avoid the dependency on a shared liblzma.so which might collide with the distro version. Signed-off-by: Jo-Philipp Wich git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46907 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- tools/xz/Makefile | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'tools/xz') diff --git a/tools/xz/Makefile b/tools/xz/Makefile index e266667957..d1f10081ae 100644 --- a/tools/xz/Makefile +++ b/tools/xz/Makefile @@ -17,6 +17,10 @@ HOST_BUILD_PARALLEL:=1 include $(INCLUDE_DIR)/host-build.mk +HOST_CONFIGURE_ARGS += \ + --enable-static=yes \ + --enable-shared=no \ + define Host/Install +$(MAKE) $(HOST_JOBS) -C $(HOST_BUILD_DIR) install xzlinks="unxz xzcat" endef -- cgit v1.2.3