[vlc-commits] contrib: libarchive: use a local variable to store the configuration

Steve Lhomme git at videolan.org
Tue May 15 18:34:53 CEST 2018


vlc | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Mon May 14 08:48:20 2018 +0200| [0b609afa656c561050077ec05233815e42ce3dbb] | committer: Steve Lhomme

contrib: libarchive: use a local variable to store the configuration

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=0b609afa656c561050077ec05233815e42ce3dbb
---

 contrib/src/libarchive/rules.mak | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

diff --git a/contrib/src/libarchive/rules.mak b/contrib/src/libarchive/rules.mak
index aced4db253..4daae3ea25 100644
--- a/contrib/src/libarchive/rules.mak
+++ b/contrib/src/libarchive/rules.mak
@@ -9,6 +9,11 @@ endif
 
 DEPS_libarchive = zlib
 
+LIBARCHIVE_CONF := $(HOSTCONF) \
+		--disable-bsdcpio --disable-bsdtar --disable-bsdcat \
+		--without-nettle --without-cng \
+		--without-xml2 --without-lzma --without-iconv --without-expat
+
 $(TARBALLS)/libarchive-$(LIBARCHIVE_VERSION).tar.gz:
 	$(call download_pkg,$(LIBARCHIVE_URL),libarchive)
 
@@ -30,9 +35,6 @@ endif
 
 .libarchive: libarchive
 	$(RECONF)
-	cd $< && $(HOSTVARS) ./configure $(HOSTCONF) \
-		--disable-bsdcpio --disable-bsdtar --disable-bsdcat \
-		--without-nettle --without-cng \
-		--without-xml2 --without-lzma --without-iconv --without-expat
+	cd $< && $(HOSTVARS) ./configure $(LIBARCHIVE_CONF)
 	cd $< && $(MAKE) install
 	touch $@



More information about the vlc-commits mailing list