Started to add Lua support to AROS.
src/Makefile: link with lua. Note that I'm currently using an absolute path to include/lua which only exits on my machine until AROS has support for pkg-config. src/setup.h: added valid path to lua scripts. src/io.c: take colon into account when checking for last separator. src/factory.c: use luaL_newstate() instead of lua_open() because latter doesn't exist anymore in Lua-5.2. Note: that fix should be valid for all platforms. git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1977 416bcca6-2ee7-4201-b75f-2eb2f807beb1
This commit is contained in:
@@ -316,10 +316,12 @@ endif
|
||||
|
||||
else
|
||||
ifdef AROS32CROSS
|
||||
#cross compile an Aros 32 bit executable
|
||||
#cross compile an AROS 32 bit executable
|
||||
BIN = ../GrafX2
|
||||
COPT = -Wall -Wno-pointer-sign -Wno-unused-but-set-variable -g `i386-linux-aros-sdl-config --cflags` $(TTFCOPT)
|
||||
LOPT = -lSDL_image `i386-linux-aros-sdl-config --libs` -lpng -ljpeg -lz $(TTFLOPT) -lfreetype2shared
|
||||
COPT = -Wall -Wno-pointer-sign -Wno-unused-but-set-variable -g `i386-linux-aros-sdl-config --cflags` $(TTFCOPT) $(LUACOPT)
|
||||
LOPT = -lSDL_image `i386-linux-aros-sdl-config --libs` -lpng -ljpeg -lz $(TTFLOPT) -lfreetype2shared $(LUALOPT)
|
||||
LUACOPT = -I/home/mazze/projects/fullaros/aros-linux-i386-dbg/bin/linux-i386/AROS/Development/include/lua
|
||||
LUALOPT = -llua
|
||||
CC = i386-linux-aros-gcc
|
||||
OBJDIR = ../obj/aros
|
||||
STRIP = strip --strip-unneeded --remove-section .comment
|
||||
|
||||
Reference in New Issue
Block a user