[vlc-commits] contribs: lua: Allow an absolute path to be passed as CC/STRIP/RANLIB

Hugo Beauzée-Luyssen git at videolan.org
Fri Apr 21 15:15:02 CEST 2017


vlc | branch: master | Hugo Beauzée-Luyssen <hugo at beauzee.fr> | Thu Apr 20 16:26:31 2017 +0200| [704625e8c6e93eda9ee1c45912a12c3effd48de0] | committer: Hugo Beauzée-Luyssen

contribs: lua: Allow an absolute path to be passed as CC/STRIP/RANLIB

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

 contrib/src/lua/rules.mak | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/contrib/src/lua/rules.mak b/contrib/src/lua/rules.mak
index 7353451bca..b1a27c47fc 100644
--- a/contrib/src/lua/rules.mak
+++ b/contrib/src/lua/rules.mak
@@ -64,9 +64,9 @@ ifdef HAVE_WIN32
 	cd $(UNPACK_DIR) && sed -i.orig -e 's/lua luac/lua.exe luac.exe/' Makefile
 endif
 	cd $(UNPACK_DIR)/src && sed -i.orig \
-		-e 's/CC=/#CC=/' \
-		-e 's/= *strip/=$(STRIP)/' \
-		-e 's/= *ranlib/= $(RANLIB)/' \
+		-e 's%CC=%#CC=%' \
+		-e 's%= *strip%=$(STRIP)%' \
+		-e 's%= *ranlib%= $(RANLIB)%' \
 		Makefile
 	$(MOVE)
 



More information about the vlc-commits mailing list