[vlc-devel] commit: Contrib: Try to fix lua's mess (Jean-Baptiste Kempf )
git version control
git at videolan.org
Thu Aug 27 19:34:47 CEST 2009
vlc | branch: 1.0-bugfix | Jean-Baptiste Kempf <jb at videolan.org> | Wed Aug 19 10:07:06 2009 +0200| [6638c34fb580d18946440f0bd1040a78254a9b1b] | committer: Rémi Denis-Courmont
Contrib: Try to fix lua's mess
(cherry picked from commit 8587991a0cbf166d4e973c45f99f920e7bea927f)
Signed-off-by: Rémi Denis-Courmont <remi at remlab.net>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=6638c34fb580d18946440f0bd1040a78254a9b1b
---
extras/contrib/src/Makefile | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/extras/contrib/src/Makefile b/extras/contrib/src/Makefile
index 438d053..765f4a5 100644
--- a/extras/contrib/src/Makefile
+++ b/extras/contrib/src/Makefile
@@ -657,7 +657,7 @@ lua: lua-$(LUA_VERSION).tar.gz
.lua: lua
ifdef HAVE_WIN32
- ( cd $< && sed -i.orig 's/lua luac/lua.exe/' Makefile && cd src && sed -i.orig 's/CC=/#CC=/' Makefile && sed -i 's/strip/\$(STRIP)/' Makefile && cd ../..)
+ ( cd $< && sed -i.orig 's/lua luac/lua.exe/' Makefile && cd src && sed -i.orig 's/CC=/#CC=/' Makefile && sed -i 's/strip/$(STRIP)/' Makefile && cd ../..)
(cd $<&& $(HOSTCC) make $(LUA_MAKEPLATEFORM)&& cd src&& $(HOSTCC) make liblua.a&& cd ..&&$(HOSTCC) make install INSTALL_TOP=$(PREFIX)&& $(RANLIB) $(PREFIX)/lib/liblua.a)
(cd $<&& sed -i.orig 's at prefix= /usr/local at prefix= $(PREFIX)@' etc/lua.pc&& mkdir -p $(PREFIX)/lib/pkgconfig&& cp etc/lua.pc $(PREFIX)/lib/pkgconfig)
else
More information about the vlc-devel
mailing list