extras/tools: libtool don't use autoreconf too early
authorKonstantin Pavlov <thresh@videolan.org>
Wed, 30 Oct 2019 17:13:55 +0000 (20:13 +0300)
committerKonstantin Pavlov <thresh@videolan.org>
Wed, 30 Oct 2019 17:16:27 +0000 (20:16 +0300)
.buildlibtool dependencies make sure we have autoconf and automake
installed, which is not guaranteed on unpacking target.
tage.

extras/tools/tools.mak

index 937a324..c66bd54 100644 (file)
@@ -131,10 +131,10 @@ libtool: libtool-$(LIBTOOL_VERSION).tar.gz
        $(APPLY) $(TOOLS)/libtool-2.4.6-san.patch
        $(APPLY) $(TOOLS)/libtool-2.4.6-clang-libs.patch
        $(APPLY) $(TOOLS)/libtool-2.4.6-response-files.patch
-       (cd $(UNPACK_DIR) && autoreconf -fv)
        $(MOVE)
 
 .buildlibtool: libtool .automake .help2man
+       (cd $(UNPACK_DIR) && autoreconf -fv)
        (cd $<; ./configure --prefix=$(PREFIX) && $(MAKE) && $(MAKE) install)
        ln -sf libtool $(PREFIX)/bin/glibtool
        ln -sf libtoolize $(PREFIX)/bin/glibtoolize