[vlc-devel] [PATCH] tools: fix patching ltmain.sh
    Steve Lhomme 
    robux4 at ycbcr.xyz
       
    Fri May 17 13:51:44 CEST 2019
    
    
  
In the distributed tar.gz ltmain.sh is read only so we can't patch it on UNIX
systems.
---
 extras/tools/tools.mak | 1 +
 1 file changed, 1 insertion(+)
diff --git a/extras/tools/tools.mak b/extras/tools/tools.mak
index 089e987274..0304946c87 100644
--- a/extras/tools/tools.mak
+++ b/extras/tools/tools.mak
@@ -126,6 +126,7 @@ libtool-$(LIBTOOL_VERSION).tar.gz:
 
 libtool: libtool-$(LIBTOOL_VERSION).tar.gz
 	$(UNPACK)
+	(cd $(UNPACK_DIR) && chmod u+w build-aux/ltmain.sh)
 	$(APPLY) $(TOOLS)/libtool-2.4.6-bitcode.patch
 	$(APPLY) $(TOOLS)/libtool-2.4.6-san.patch
 	$(APPLY) $(TOOLS)/libtool-2.4.6-clang-libs.patch
-- 
2.17.1
    
    
More information about the vlc-devel
mailing list