Commit a97ff56e authored by Rafaël Carré's avatar Rafaël Carré

contrib: lua: build host luac compiler

parent a70681a1
......@@ -66,5 +66,9 @@ ifdef HAVE_WIN32
cd $< && $(RANLIB) "$(PREFIX)/lib/liblua.a"
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 $@
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment