* Include NetBSD patch from Jeff. Thanks !

* Attempt to workaround the lua pkg-config problems. I'd like to know if it makes everyone happy ?


git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1470 416bcca6-2ee7-4201-b75f-2eb2f807beb1
This commit is contained in:
Adrien Destugues
2010-04-28 18:53:10 +00:00
parent 985e348fe4
commit 9644f7fb4a
5 changed files with 21 additions and 8 deletions

View File

@@ -201,8 +201,13 @@ else
LUACOPT =
LUALOPT =
else
LUACOPT = `pkg-config lua5.1 --cflags`
LUALOPT = `pkg-config lua5.1 --libs`
ifeq (`pkg-config --exists lua --print-errors`,"")
LUACOPT = `pkg-config lua --cflags`
LUALOPT = `pkg-config lua --libs`
else
LUACOPT = `pkg-config lua5.1 --cflags`
LUALOPT = `pkg-config lua5.1 --libs`
endif
endif
# These can only be used under linux and maybe freebsd. They allow to compile for the gp2x or to create a windows binary