mirror of
https://github.com/etlegacy/etlegacy-libs.git
synced 2024-11-11 07:11:57 +00:00
libs: modified Lua release for POSIX requirement
This commit is contained in:
parent
bba5781e57
commit
a7f9c6a977
2 changed files with 10 additions and 3 deletions
|
@ -4,3 +4,7 @@ This is Lua 5.3.2, released on 25 Nov 2015.
|
|||
For installation instructions, license details, and
|
||||
further information about Lua, see doc/readme.html.
|
||||
|
||||
This is a slightly modified version for ET: Legacy.
|
||||
The src/Makefile file has been adjusted to fit our
|
||||
posix and posix32bit requirements.
|
||||
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
PLAT= none
|
||||
|
||||
CC= gcc -std=gnu99
|
||||
CFLAGS= -O2 -Wall -Wextra -DLUA_COMPAT_5_2 $(SYSCFLAGS) $(MYCFLAGS)
|
||||
CFLAGS= -O2 -Wall -Wextra $(SYSCFLAGS) $(MYCFLAGS)
|
||||
LDFLAGS= $(SYSLDFLAGS) $(MYLDFLAGS)
|
||||
LIBS= -lm $(SYSLIBS) $(MYLIBS)
|
||||
|
||||
|
@ -26,7 +26,7 @@ MYOBJS=
|
|||
|
||||
# == END OF USER SETTINGS -- NO NEED TO CHANGE ANYTHING BELOW THIS LINE =======
|
||||
|
||||
PLATS= aix bsd c89 freebsd generic linux macosx mingw posix solaris
|
||||
PLATS= aix bsd c89 freebsd generic linux macosx mingw posix posix32bit solaris
|
||||
|
||||
LUA_A= liblua.a
|
||||
CORE_O= lapi.o lcode.o lctype.o ldebug.o ldo.o ldump.o lfunc.o lgc.o llex.o \
|
||||
|
@ -119,7 +119,10 @@ mingw:
|
|||
$(MAKE) "LUAC_T=luac.exe" luac.exe
|
||||
|
||||
posix:
|
||||
$(MAKE) $(ALL) SYSCFLAGS="-DLUA_USE_POSIX"
|
||||
$(MAKE) $(ALL) SYSCFLAGS="-DLUA_USE_POSIX -fPIC -DLUA_USE_DLOPEN" SYSLIBS="-ldl"
|
||||
|
||||
posix32bit:
|
||||
$(MAKE) $(MAKE) $(ALL) SYSCFLAGS="-m32 -DLUA_USE_POSIX -fPIC -DLUA_USE_DLOPEN" SYSLDFLAGS="-m32" SYSLIBS="-ldl"
|
||||
|
||||
solaris:
|
||||
$(MAKE) $(ALL) SYSCFLAGS="-DLUA_USE_POSIX -DLUA_USE_DLOPEN -D_REENTRANT" SYSLIBS="-ldl"
|
||||
|
|
Loading…
Reference in a new issue