[vlc-devel] [PATCH 3.0 15/17] extras/tools: libtool don't use autoreconf too early

Steve Lhomme robux4 at ycbcr.xyz
Fri Mar 27 16:57:17 CET 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 96289ee171..c4575faf24 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