From 349e81ecd8ec307c187c0ff4abf0788f381a3087 Mon Sep 17 00:00:00 2001 From: Martin Peach Date: Mon, 6 Jan 2014 19:04:59 +0000 Subject: Removed references to lua5.1, now pdlua.c compiles for whichever lua is found, based on LUA_VERSION_NUM from lua.h. Prints lua version according to lua_version() to console on startup. Modified some function calls for the 5.2 API. svn path=/trunk/externals/loaders/pdlua/; revision=17235 --- src/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/Makefile') diff --git a/src/Makefile b/src/Makefile index ed7ae23..0eeb387 100644 --- a/src/Makefile +++ b/src/Makefile @@ -151,8 +151,8 @@ ifeq ($(UNAME),Linux) OPT_CFLAGS = -O6 -funroll-loops -fomit-frame-pointer CFLAGS += -fPIC -threepic LDFLAGS += -Wl,--export-dynamic -shared -fPIC - LUACFLAGS += -I/usr/include/lua5.1 # lua is named differently on every platform, check this and change it to fit - LIBS += -llua5.1 # lua is named differently on every platform, check this and change it to fit + LUACFLAGS += -I/usr/include/lua # lua is named differently on every platform, check this and change it to fit + LIBS += -llua # lua is named differently on every platform, check this and change it to fit LIBS += -lc STRIP = strip --strip-unneeded -R .note -R .comment DISTBINDIR=$(DISTDIR)-$(OS)-$(shell uname -m) -- cgit v1.2.1