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

Steve Lhomme git at videolan.org
Wed May 22 09:42:13 CEST 2019


vlc | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Fri May 17 10:10:24 2019 +0200| [c3b6aa2ac2f3b79758080fde13b247adefc9d04e] | 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.

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

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

diff --git a/extras/tools/tools.mak b/extras/tools/tools.mak
index f20934284d..cc55732cb4 100644
--- a/extras/tools/tools.mak
+++ b/extras/tools/tools.mak
@@ -125,6 +125,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