Skip to content

Commit

Permalink
[sb2] Remove bundled lua. Contributes to JB#52528
Browse files Browse the repository at this point in the history
  • Loading branch information
Thaodan committed Feb 11, 2021
1 parent abc5c9d commit 2b57227
Show file tree
Hide file tree
Showing 104 changed files with 0 additions and 28,474 deletions.
15 changes: 0 additions & 15 deletions scratchbox2/luaif/Makefile
@@ -1,5 +1,3 @@
LUASRC = luaif/lua-5.1.4/src

# Not needed anymore, because Lua was dropped from libsb2:
# $(D)/luaif.o $(D)/argvenvp.o

Expand All @@ -14,21 +12,8 @@ luaif/libluaif.a: override LDFLAGS := $(LDFLAGS)
luaif/libluaif.a: override LIBS := $(LUA_LIBS)


lua_sources := loadlib.c lstate.c ldebug.c liolib.c llex.c lauxlib.c ldump.c \
ltablib.c lstrlib.c ldo.c lmathlib.c lapi.c lvm.c ltable.c lgc.c \
lbaselib.c lopcodes.c linit.c lfunc.c lparser.c lstring.c ldblib.c \
lzio.c loslib.c ltm.c lundump.c lobject.c lmem.c lcode.c

lua_sources_expanded = $(foreach v,$(lua_sources),$(LUASRC)/$(v))

lua_objs := $(lua_sources_expanded:.c=.o)

luaif/sb_log.o: include/scratchbox2_version.h

luaif/liblua.a: $(lua_objs)
luaif/liblua.a: override CFLAGS := -O2 -Dfopen=fopen_nomap -g -fPIC -Wall -W $(CFLAGS)
luaif/liblua.a: override LDFLAGS := $(LDFLAGS)
luaif/liblua.a: override LIBS :=

targets := $(targets) $(D)/libluaif.a

34 changes: 0 additions & 34 deletions scratchbox2/luaif/lua-5.1.4/COPYRIGHT

This file was deleted.

183 changes: 0 additions & 183 deletions scratchbox2/luaif/lua-5.1.4/HISTORY

This file was deleted.

99 changes: 0 additions & 99 deletions scratchbox2/luaif/lua-5.1.4/INSTALL

This file was deleted.

0 comments on commit 2b57227

Please sign in to comment.