-Linux now uses pkgconfig to find infos about lua. This may break other platforms
-No longer enforce lua5.1 as the include dir for lua files. --Cette ligne, et les suivantes ci-dessous, seront ignorées-- M trunk/Makefile M trunk/factory.c git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1255 416bcca6-2ee7-4201-b75f-2eb2f807beb1
This commit is contained in:
parent
235d556296
commit
70a61a07ef
5
Makefile
5
Makefile
@ -229,6 +229,8 @@ else
|
||||
CP = cp
|
||||
ZIP = zip
|
||||
PLATFORMFILES = gfx2.png
|
||||
LUACOPT = `pkg-config lua5.1 --cflags`
|
||||
LUALOPT = `pkg-config lua5.1 --libs`
|
||||
|
||||
# These can only be used under linux and maybe freebsd. They allow to compile for the gp2x or to create a windows binary
|
||||
ifdef WIN32CROSS
|
||||
@ -298,8 +300,7 @@ ifeq ($(NOLUA),1)
|
||||
LUALOPT =
|
||||
LUALABEL = -nolua
|
||||
else
|
||||
LUACOPT = -D__ENABLE_LUA__
|
||||
LUALOPT = -llua5.1
|
||||
LUACOPT += -D__ENABLE_LUA__
|
||||
LUALABEL =
|
||||
endif
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user