luci/libs/luci-lib-nixio
Manuel BACHMANN 6c0b8a40f7 luci-lib-nixio: allow building with Lua5.2/LuaJIT
Lua 5.1 defines a "luaL_Reg" alias for deprecated
"luaL_reg", but Lua >= 5.2 and LuaJIT do not.
Replace by "luaL_Reg", and define a "luaL_reg"
alias in case we build with old Lua 5.0.

Signed-off-by: Manuel BACHMANN <tarnyko@tarnyko.net>
2020-02-24 11:04:54 +01:00
..
axTLS Rework LuCI build system 2015-01-08 16:26:20 +01:00
axtls-config Rework LuCI build system 2015-01-08 16:26:20 +01:00
axtls-root/etc/nixio Rework LuCI build system 2015-01-08 16:26:20 +01:00
docsrc luci-app-fwknopd: fix typos 2019-12-20 23:12:48 +01:00
root luci-lib-nixio: drop "bit" compatibility class 2015-01-15 16:05:31 +01:00
src luci-lib-nixio: allow building with Lua5.2/LuaJIT 2020-02-24 11:04:54 +01:00
.gitignore Rework LuCI build system 2015-01-08 16:26:20 +01:00
LICENSE Rework LuCI build system 2015-01-08 16:26:20 +01:00
Makefile restored nixio tls providers 2018-09-27 21:12:40 +02:00
nixio-0.3-1.rockspec Rework LuCI build system 2015-01-08 16:26:20 +01:00
NOTICE Update my email addresses in the license headers 2015-01-16 23:49:44 +01:00
README Rework LuCI build system 2015-01-08 16:26:20 +01:00

Building:
	Use GNU Make.
	make or gmake depending on your system.
	
	Special make flags:

	OS		Override Target OS	[Linux|FreeBSD|SunOS|Windows]
	NIXIO_TLS	TLS-Library		[*openssl|axtls]
	NIXIO_CROSS_CC	MinGW CC (Windows)	`which i586-mingw32msvc-cc`
	LUA_CFLAGS	Lua CFLAGS		`pkg-config --cflags lua5.1`
	LUA_TARGET	Lua compile		target	[*source|strip|compile]
	LUA_MODULEDIR	Install LUA_PATH	"/usr/share/lua/5.1"
	LUA_LIBRARYDIR	Install LUA_CPATH	"/usr/lib/lua/5.1"