Просмотр исходного кода

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]>

SVN-Revision: 46907
Jo-Philipp Wich 10 лет назад
Родитель
Сommit
b4e49ad8f0
1 измененных файлов с 4 добавлено и 0 удалено
  1. 4 0
      tools/xz/Makefile

+ 4 - 0
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