[vlc-devel] [PATCH 3.0 11/17] tools: fix patching ltmain.sh

Steve Lhomme robux4 at ycbcr.xyz
Fri Mar 27 16:57:13 CET 2020


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

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

diff --git a/extras/tools/tools.mak b/extras/tools/tools.mak
index 50258c31c0..8fc85ace1e 100644
--- a/extras/tools/tools.mak
+++ b/extras/tools/tools.mak
@@ -101,6 +101,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
-- 
2.17.1



More information about the vlc-devel mailing list