Author: jow
Date: 2015-09-14 16:03:21 +0200 (Mon, 14 Sep 2015)
New Revision: 46907

Modified:
   trunk/tools/xz/Makefile
Log:
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 <[email protected]>

Modified: trunk/tools/xz/Makefile
===================================================================
--- trunk/tools/xz/Makefile     2015-09-14 07:40:40 UTC (rev 46906)
+++ trunk/tools/xz/Makefile     2015-09-14 14:03:21 UTC (rev 46907)
@@ -17,6 +17,10 @@
 
 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
_______________________________________________
openwrt-commits mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits

Reply via email to