Commit aceceed7 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Contrib; lua for win32. Start of fixing...

parent 1be7b761
......@@ -572,7 +572,12 @@ lua: lua-$(LUA_VERSION).tar.gz
$(EXTRACT_GZ)
.lua: lua
ifdef HAVE_WIN32
( cd $<; sed -i.orig 's/lua luac/lua.exe/' Makefile ; cd src; sed -i.orig 's/gcc/$(CC)/' Makefile; cd ../..;)
(cd $<; $(HOSTCC) make $(LUA_MAKEPLATEFORM); cd src; $(HOSTCC) make liblua.a; cd ..;$(HOSTCC) make install INSTALL_TOP=$(PREFIX))
else
(cd $<; $(HOSTCC) make $(LUA_MAKEPLATEFORM) && make install INSTALL_TOP=$(PREFIX))
endif
touch $@
CLEAN_FILE += .lua
......
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