[vlc-commits] contrib: lua: Make the win32 makefile patching stricter

Martin Storsjö git at videolan.org
Sat Jun 16 11:29:31 CEST 2018


vlc | branch: master | Martin Storsjö <martin at martin.st> | Sat Jun 16 12:28:20 2018 +0300| [fcd1a0bebde89591c87e3aec8773ef8ad14fd306] | committer: Martin Storsjö

contrib: lua: Make the win32 makefile patching stricter

This fixes building for armv7, broken in a3d1527e.

The "= ar" pattern could match any case of an armv7
prefixed tool, like "RANLIB= armv7-w64-mingw32-...".

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

 contrib/src/lua/rules.mak | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/contrib/src/lua/rules.mak b/contrib/src/lua/rules.mak
index 9f5a4eca91..103898f2bc 100644
--- a/contrib/src/lua/rules.mak
+++ b/contrib/src/lua/rules.mak
@@ -68,7 +68,7 @@ endif
 		-e 's%CC=%#CC=%' \
 		-e 's%= *strip%=$(STRIP)%' \
 		-e 's%= *ranlib%= $(RANLIB)%' \
-		-e 's%= *ar%= $(AR)%' \
+		-e 's%AR= *ar%AR= $(AR)%' \
 		Makefile
 	$(MOVE)
 



More information about the vlc-commits mailing list