[vlc-devel] [3.0 PATCH v2 07/20] extras/tools: libtool don't use autoreconf too early

Steve Lhomme robux4 at ycbcr.xyz
Thu Apr 2 13:38:05 CEST 2020


From: Konstantin Pavlov <thresh at videolan.org>

.buildlibtool dependencies make sure we have autoconf and automake
installed, which is not guaranteed on unpacking target.
tage.

(cherry picked from commit f3511a70314565e3ff48827e400e7869dfe20577)
---
 extras/tools/tools.mak | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/extras/tools/tools.mak b/extras/tools/tools.mak
index 59cfad44e19..fe0fb2163a2 100644
--- a/extras/tools/tools.mak
+++ b/extras/tools/tools.mak
@@ -106,10 +106,10 @@ libtool: libtool-$(LIBTOOL_VERSION).tar.gz
 	$(APPLY) libtool-2.4.6-san.patch
 	$(APPLY) libtool-2.4.6-clang-libs.patch
 	$(APPLY) libtool-2.4.6-response-files.patch
-	(cd $(UNPACK_DIR) && autoreconf -fv)
 	$(MOVE)
 
 .libtool: libtool .automake
+	(cd $(UNPACK_DIR) && autoreconf -fv)
 	(cd $<; ./configure --prefix=$(PREFIX) && $(MAKE) && $(MAKE) install)
 	ln -sf libtool $(PREFIX)/bin/glibtool
 	ln -sf libtoolize $(PREFIX)/bin/glibtoolize
-- 
2.17.1



More information about the vlc-devel mailing list