[vlc-commits] tools: fix patching ltmain.sh

Steve Lhomme git at videolan.org
Thu Jun 18 13:09:35 CEST 2020


vlc/vlc-3.0 | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Fri May 17 10:10:24 2019 +0200| [c53583483a659dea02b250eb25f464ef69b19b35] | committer: Steve Lhomme

tools: fix patching ltmain.sh

In the distributed tar.gz ltmain.sh is read only so we can't patch it on UNIX
systems.

(cherry picked from commit c3b6aa2ac2f3b79758080fde13b247adefc9d04e)

Signed-off-by: Steve Lhomme <robux4 at ycbcr.xyz>

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

 extras/tools/tools.mak | 1 +
 1 file changed, 1 insertion(+)

diff --git a/extras/tools/tools.mak b/extras/tools/tools.mak
index cac000a4e8..c371aab0d5 100644
--- a/extras/tools/tools.mak
+++ b/extras/tools/tools.mak
@@ -115,6 +115,7 @@ libtool-$(LIBTOOL_VERSION).tar.gz:
 
 libtool: libtool-$(LIBTOOL_VERSION).tar.gz
 	$(UNPACK)
+	(cd $(UNPACK_DIR) && chmod u+w build-aux/ltmain.sh)
 	$(APPLY) libtool-2.4.6-bitcode.patch
 	$(APPLY) libtool-2.4.6-san.patch
 	$(APPLY) libtool-2.4.6-clang-libs.patch



More information about the vlc-commits mailing list