[vlc-commits] contrib: lua: build host luac compiler
Rafaël Carré
git at videolan.org
Tue Apr 9 00:09:20 CEST 2013
vlc | branch: master | Rafaël Carré <funman at videolan.org> | Tue Apr 9 00:02:29 2013 +0200| [a97ff56ef5c559315c66a7416db8d900426f4e4e] | committer: Rafaël Carré
contrib: lua: build host luac compiler
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=a97ff56ef5c559315c66a7416db8d900426f4e4e
---
contrib/src/lua/rules.mak | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/contrib/src/lua/rules.mak b/contrib/src/lua/rules.mak
index 597969c..acbc87d 100644
--- a/contrib/src/lua/rules.mak
+++ b/contrib/src/lua/rules.mak
@@ -67,4 +67,8 @@ ifdef HAVE_WIN32
mkdir -p -- "$(PREFIX)/lib/pkgconfig"
cp $</etc/lua.pc "$(PREFIX)/lib/pkgconfig/"
endif
+ifdef HAVE_CROSS_COMPILE
+ cd $</src && $(MAKE) clean && $(MAKE) liblua.a && ranlib liblua.a && $(MAKE) luac
+ cp $</src/luac $(PREFIX)/bin
+endif
touch $@
More information about the vlc-commits
mailing list