Skip to content

Commit

Permalink
upgrade luajit to v2.1 branch (ec6edc5)
Browse files Browse the repository at this point in the history
  • Loading branch information
wg committed Feb 7, 2021
1 parent c769850 commit 2221a30
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ ifeq ($(TARGET), sunos)
CFLAGS += -D_PTHREADS -D_POSIX_C_SOURCE=200112L
LIBS += -lsocket
else ifeq ($(TARGET), darwin)
LDFLAGS += -pagezero_size 10000 -image_base 100000000
export MACOSX_DEPLOYMENT_TARGET = $(shell sw_vers -productVersion)
else ifeq ($(TARGET), linux)
CFLAGS += -D_POSIX_C_SOURCE=200112L -D_BSD_SOURCE -D_DEFAULT_SOURCE
Expand Down Expand Up @@ -73,13 +72,14 @@ $(ODIR)/%.o : %.c

# Dependencies

LUAJIT := $(notdir $(patsubst %.tar.gz,%,$(wildcard deps/LuaJIT*.tar.gz)))
LUAJIT := $(notdir $(patsubst %.zip,%,$(wildcard deps/LuaJIT*.zip)))
OPENSSL := $(notdir $(patsubst %.tar.gz,%,$(wildcard deps/openssl*.tar.gz)))

OPENSSL_OPTS = no-shared no-psk no-srp no-dtls no-idea --prefix=$(abspath $(ODIR))

$(ODIR)/$(LUAJIT): deps/$(LUAJIT).tar.gz | $(ODIR)
@tar -C $(ODIR) -xf $<
$(ODIR)/$(LUAJIT): deps/$(LUAJIT).zip | $(ODIR)
echo $(LUAJIT)
@unzip -nd $(ODIR) $<

$(ODIR)/$(OPENSSL): deps/$(OPENSSL).tar.gz | $(ODIR)
@tar -C $(ODIR) -xf $<
Expand Down
Binary file removed deps/LuaJIT-2.1.0-beta3.tar.gz
Binary file not shown.
Binary file added deps/LuaJIT-2.1.zip
Binary file not shown.

0 comments on commit 2221a30

Please sign in to comment.