diff options
author | Martin Peach <mrpeach@users.sourceforge.net> | 2014-01-06 19:04:59 +0000 |
---|---|---|
committer | IOhannes m zmölnig <zmoelnig@iem.at> | 2015-10-14 14:28:31 +0200 |
commit | 349e81ecd8ec307c187c0ff4abf0788f381a3087 (patch) | |
tree | f7786e4867712c510dcec424c5d7533b66a67af6 /src/Makefile | |
parent | df3c5bae24837b144a1f09d06d4cad90b8905915 (diff) |
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
Diffstat (limited to 'src/Makefile')
-rw-r--r-- | src/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
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) |