support for build with current Lua version 5.4.4
On some platforms this may require:
re-using a sys/unix/hints file to generate updated Makefiles
make spotless
make fetch-lua
This commit is contained in:
@@ -44,7 +44,7 @@ II. There once was a time when people built NetHack right on their DOS machine.
|
||||
and pdcurses from:
|
||||
https://github.com/wmcbrine/PDCurses.git
|
||||
and Lua from:
|
||||
http://www.lua.org/ftp/lua-5.4.3.tar.gz
|
||||
http://www.lua.org/ftp/lua-5.4.4.tar.gz
|
||||
|
||||
- A shell script to download the above-mentioned djgpp cross-compiler and
|
||||
associated support pieces for either linux or macOS is available:
|
||||
|
||||
@@ -42,13 +42,13 @@ GAMEDIR =../binary
|
||||
ifeq "$(LUA_VERSION)" "5.3.5"
|
||||
LUAVER=5.3.5
|
||||
else
|
||||
LUAVER=5.4.3
|
||||
LUAVER=5.4.4
|
||||
endif
|
||||
#---------------------------------------------------------------
|
||||
# Location of LUA
|
||||
#
|
||||
# Original source needs to be obtained from:
|
||||
# http://www.lua.org/ftp/lua-5.4.3.tar.gz
|
||||
# http://www.lua.org/ftp/lua-5.4.4.tar.gz
|
||||
#
|
||||
# This build assumes that the LUA sources are located
|
||||
# at the specified location. If they are actually elsewhere
|
||||
@@ -305,7 +305,7 @@ ALLOBJ = $(VOBJ) $(SOBJ) $(TILOBJ) $(TILOBJ2) $(VVOBJ)
|
||||
|
||||
#===============-=================================================
|
||||
# LUA library
|
||||
# Source from http://www.lua.org/ftp/lua-5.4.3.tar.gz
|
||||
# Source from http://www.lua.org/ftp/lua-5.4.4.tar.gz
|
||||
#=================================================================
|
||||
|
||||
LUASRC = $(LUATOP)/src
|
||||
|
||||
@@ -12,7 +12,7 @@ if [ -z "$GCCVER" ]; then
|
||||
fi
|
||||
|
||||
if [ -z "$LUA_VERSION" ]; then
|
||||
export LUA_VERSION=5.4.3
|
||||
export LUA_VERSION=5.4.4
|
||||
fi
|
||||
|
||||
if [ ! -d "$(pwd)/lib" ]; then
|
||||
|
||||
Reference in New Issue
Block a user